Commit 5fb4c12
fix(ci): correct code-review prompt and elevate permissions
Codex review found two real issues in the generated workflow:
- The PR selector `${{ github.repository }}/pull/${{ ... }}` expands to
`owner/repo/pull/N`, which `gh pr view` rejects as a branch lookup. Pass
the number directly so the plugin can resolve the PR.
- The code-review plugin only prints findings to the Actions log unless
`--comment` is supplied; without it the review never reaches the PR.
- Posting PR comments requires `pull-requests: write` on the job token.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2217bbd commit 5fb4c12
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
0 commit comments