fix: pass github_token to Claude workflows to bypass OIDC (#186)

Closes #182 — the claude-code-action attempts OIDC token exchange when
no github_token is provided, which fails without the Anthropic GitHub
App installed. Passing secrets.GITHUB_TOKEN skips the OIDC flow.
This commit is contained in:
Robby Manihani
2026-04-03 22:00:34 -07:00
committed by GitHub
parent 4b47c5d435
commit 82ed761784
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ jobs:
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
prompt: |
You are an automated issue fixer for the OpenJarvis repository. Follow these steps in order:
+1
View File
@@ -47,4 +47,5 @@ jobs:
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
prompt: ${{ steps.review.outputs.instructions }}