Commit f57ceb3
Add workflow-level permissions for Claude Code actions
The Claude Code GitHub Action requires id-token: write permission to
authenticate via OIDC. While the permissions were set at the job level,
GitHub Actions requires them at the workflow level for proper OIDC token
generation.
This commit adds workflow-level permissions to both claude.yml and
claude-code-review.yml to fix the OIDC authentication error:
"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2b732f9 commit f57ceb3
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments