Commit 38ba5bb
authored
Harden auto-approve: never self-approve guardrail changes (#758)
Add a check that skips auto-approval when a PR modifies .github/** or
.shadow.yml. Without it, a PR that weakens the approval gate (or repoints the
bot at a different engine) is approved by the very gate it edits. Paginates
listFiles so a large PR cannot slip a guarded file past a 30-item page.1 parent 18094c1 commit 38ba5bb
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
58 | 73 | | |
59 | 74 | | |
60 | 75 | | |
| |||
0 commit comments