26 lines
937 B
TOML
26 lines
937 B
TOML
|
|
# gardener/recipes/chicken-egg-ci.toml — PR introduces CI step that fails on pre-existing code
|
||
|
|
#
|
||
|
|
# Trigger: New .woodpecker/*.yml in PR + lint/check step + failures on unchanged files
|
||
|
|
# Playbook: make step non-blocking, create per-file issues, create follow-up to remove bypass
|
||
|
|
|
||
|
|
name = "chicken-egg-ci"
|
||
|
|
description = "PR introduces a CI pipeline/linting step that fails on pre-existing code"
|
||
|
|
priority = 10
|
||
|
|
|
||
|
|
[trigger]
|
||
|
|
pr_files = '\.woodpecker/.*\.yml$'
|
||
|
|
step_name = '(?i)(lint|shellcheck|check)'
|
||
|
|
failures_on_unchanged = true
|
||
|
|
|
||
|
|
[[playbook]]
|
||
|
|
action = "make-step-non-blocking"
|
||
|
|
description = "Make failing step non-blocking (|| true) in the PR"
|
||
|
|
|
||
|
|
[[playbook]]
|
||
|
|
action = "create-per-file-issues"
|
||
|
|
description = "Create per-file fix issues for pre-existing violations"
|
||
|
|
|
||
|
|
[[playbook]]
|
||
|
|
action = "create-followup-remove-bypass"
|
||
|
|
description = "Create follow-up issue to remove || true once fixes land"
|