Skip to content

Commit 74c54bd

Browse files
ducpm2303claude
andcommitted
fix: add id-token: write permission for claude-code-action OIDC auth
anthropics/claude-code-action@v1 requires id-token: write to fetch an OIDC token for authentication. Without it, the PR review job fails with "Could not fetch an OIDC token." Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent feef9ce commit 74c54bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/pr-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
permissions:
1919
contents: read
2020
pull-requests: write
21+
id-token: write
2122
steps:
2223
- uses: actions/checkout@v4
2324
with:

0 commit comments

Comments
 (0)