Structure
ActionDescriptor
Type-erased registration metadata used by CLI commands, Shipfile workflows, and plugins to resolve actions by name at runtime.
struct ActionDescriptorTopics
Initializers
Instance Properties
let description: StringHuman-readable description of the action.
let name: StringThe unique action name (matches
Action.name).let optionSchema: [SchemaField]Machine-readable workflow option schema for this action.
let platforms: Set<Platform>?The platforms this action supports.
nilmeans supported on all platforms.let runJSON: (JSONValue?, ActionContext) async throws -> ActionResultEnvelopeType-erased execution closure. Accepts optional JSON options and returns a result envelope.
let validationRules: [ActionValidationRule]Semantic validation rules evaluated during
shipit validate ymlfor every workflow step that references this action.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype