fix: feat: gardener escalation recipes — pattern-matched playbooks for CI failures (#68)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5bba51b547
commit
f293dd6269
5 changed files with 527 additions and 102 deletions
23
gardener/recipes/cascade-rebase.toml
Normal file
23
gardener/recipes/cascade-rebase.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# gardener/recipes/cascade-rebase.toml — PR outdated after main moved
|
||||
#
|
||||
# Trigger: PR mergeable=false (stale branch or dismissed approval)
|
||||
# Playbook: rebase, re-approve if dismissed, retry merge
|
||||
|
||||
name = "cascade-rebase"
|
||||
description = "PR outdated after main moved — mergeable=false or stale approval"
|
||||
priority = 20
|
||||
|
||||
[trigger]
|
||||
pr_mergeable = false
|
||||
|
||||
[[playbook]]
|
||||
action = "rebase-pr"
|
||||
description = "Rebase PR onto main"
|
||||
|
||||
[[playbook]]
|
||||
action = "re-approve-if-dismissed"
|
||||
description = "Re-approve if approval was dismissed by push"
|
||||
|
||||
[[playbook]]
|
||||
action = "retry-merge"
|
||||
description = "Retry merge"
|
||||
Loading…
Add table
Add a link
Reference in a new issue