Commit cf7566e
fix(ai-review): allow github-actions[bot] PRs to be reviewed
codex-action's write-access check queries the collaborators API, which
returns permission 'none' for the github-actions[bot] actor and aborts
the run with "Actor 'github-actions[bot]' is not permitted to run this
action". This blocked AI review on the automated security-fix PRs, which
are opened under the repo's own GITHUB_TOKEN (actor github-actions[bot]).
Pass allow-bots: true so codex-action whitelists the GitHub-owned
github-actions[bot] specifically. The review still posts via the
AI_CODE_REVIEW app token, which already has PR write — the actor check
was the only gate.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 2cf7200 commit cf7566e
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
298 | 305 | | |
299 | 306 | | |
300 | 307 | | |
| |||
0 commit comments