We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c85a9d commit a072710Copy full SHA for a072710
1 file changed
.github/workflows/claude-code-review.yml
@@ -32,6 +32,9 @@ jobs:
32
with:
33
allowed_bots: 'renovate'
34
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
35
+ # Fork PRs get an environment-scoped OIDC token that the Claude App token exchange rejects (401),
36
+ # so pass github_token only there; internal PRs keep the App token flow.
37
+ github_token: ${{ (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) && github.token || '' }}
38
claude_args: |
39
--model claude-opus-4-6
40
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
0 commit comments