Commit 91c2bf6
fix: add fallback rule so non-matching PRs get approved status (#83)
When all rules have `if` conditions and none match, policy-bot posts
an error status ("All rules were skipped"). Adding a fallback rule
with no `if` and count:0 ensures non-matching PRs get a clean
"approved" status while cherry-pick PRs on release/* branches
continue to be evaluated by the targeted rule.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9d24585 commit 91c2bf6
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments