Skip to content

Commit 7096beb

Browse files
authored
Fix Claude Code Review workflow permissions (#886)
## Summary - Add `permissions` block to the Claude Code Review caller workflow - The reusable workflow in `shakacode/.github` needs `issues: write`, `pull-requests: write`, and `id-token: write`, but callers must explicitly grant these permissions - Without this, the workflow fails with: "The nested job is requesting permissions but is only allowed none" ## Test plan - [ ] Verify the Claude Code Review workflow runs successfully on a new PR 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 8c1b506 commit 7096beb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@ on:
77
jobs:
88
claude-review:
99
uses: shakacode/.github/.github/workflows/claude-code-review.yml@main
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
issues: write
14+
id-token: write
1015
secrets:
1116
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

0 commit comments

Comments
 (0)