Flag steps/pipelines with no when (implicit always-run) in the tree
#3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SPEC.md roadmap item 2b.
Woodpecker treats a step or pipeline with no
whenclause as "alwaysrun" — easy to write by accident, and currently invisible in pipetree's
output (absence of a
when:line reads the same whether it's intentionalor a forgotten condition). Make it explicit: annotate
when-lesssteps/pipelines in the tree (e.g.
[always-run]) instead of just omittingthe line.
Complements #1 (rollup mode should be able to count these fleet-wide).
Source: SPEC.md, review feedback captured on commit
4b5b336.Acceptance criteria
whenat all renders an explicit[always-run]marker in tree output-jsonoutput (e.g. analways_run: truefield, not just an emptywhenarray — those two cases must be distinguishable)~/projectsResolved by
f10a008(v0.2 batch push).