Commit 12456ff
committed
ci: gate auto-approve behind SHADOW_AUTO_APPROVE (off by default)
Auto-approval now runs only where a maintainer has explicitly set the
repo/org variable SHADOW_AUTO_APPROVE=true. Default is off, so the bot is
comment-only unless deliberately enabled.
Rationale: a bot APPROVE review can satisfy branch protection's required
approving review. Making auto-approval opt-in keeps a human approval on the
critical path by default, addressing the AppSec review finding that the bot
could otherwise rubber-stamp a PR whose findings were suppressed via prompt
injection. The event guard (pull_request / pull_request_target) is unchanged.1 parent d8184e4 commit 12456ff
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| |||
0 commit comments