Skip to content

Commit 1d172dc

Browse files
committed
Fix claude-code-action CI failures
Use pull_request_target to ensure secrets are available, and pass github_token explicitly to avoid the OIDC token exchange flow. See anthropics/claude-code-action#649 AI tools were used in preparing this commit.
1 parent 59ac8aa commit 1d172dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/claude-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: anthropics/claude-code-action@v1
1919
with:
2020
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
2122
prompt: |
2223
REPO: ${{ github.repository }}
2324
PR NUMBER: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)