SemText

Reference · SemText · Sequences & progress

<sem-workflow>

SemText element

You write one sem-step per step, like a procedure, plus a duration for the whole run. Each step can carry a gate and check, and an if-no that says what to do when the check fails.

An ordered workflow whose steps carry verification. You write one sem-step per step, like a procedure, plus a duration for the whole run. Each step can carry a gate and check, and an if-no that says what to do when the check fails. per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2)

Children

  • <duration>free token (`45m`, `2h` …); whole-workflow estimate.
  • <sem-step>

Example

sem-workflow.html
source
1 <sem-workflow kind="release" duration="45m" label="Cut a release">
2 <sem-step id="s1" action="Build images" description="sha-tagged via CI"
3 gate="CI green" check="gh run view" output="dist/*.tar">push the tag</sem-step>
4 <sem-step id="s2" action="Deploy stage" gate="images present"
5 check="gh-wait deploy" if-no="fix CI, then re-run the release workflow">merge to stage</sem-step>
6 </sem-workflow>
render
No shipped runtime for this element — the authored example renders as plain HTML.

Source: spec/schema/sem-workflow.md