A step is id/type/settings with when and on_failure; the five kinds become
the types agent.run (inline mission), connector.action, approval.wait,
run.notify and workflow.sleep. Documents declare inputs, repository,
instructions, identity and profile; references are {{ task|inputs|steps }}
checked at save. Any number of approval steps, each asking only about what
was held since; actions still held at the end are put to people before the
run finishes. Triggers are refused for a workflow they can't start, and the
workflows API lists, reads and saves documents beside a step-type catalog.
Copied from internal/domain/workflow: definition.go, step_refs.go,
step_flow.go's checks, control_steps.go's when parser, vocabulary.go and
task/interface.go. stableid moves to internal/platform.
11 lines
177 B
YAML
11 lines
177 B
YAML
identity: 6f129e29-0e26-5246-99bd-74cb4496203b
|
|
inputs:
|
|
pr_number:
|
|
type: number
|
|
required: true
|
|
depth:
|
|
type: string
|
|
required: false
|
|
steps:
|
|
- type: review.pr
|