Fix claude-code-action@v1 authentication (#1958)

This commit is contained in:
Jeremiah Lowin 2025-09-29 20:35:44 -04:00 committed by GitHub
commit b53604ca76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,7 @@ jobs:
permissions:
contents: read
issues: write
id-token: write
steps:
- name: Checkout repository
@ -73,6 +74,7 @@ jobs:
- name: Run Marvin dedupe command
uses: anthropics/claude-code-action@v1
with:
github_token: ${{ steps.marvin-token.outputs.token }}
prompt_file: /tmp/claude-prompts/dedupe-prompt.txt
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY_FOR_CI }}
claude_args: |

View file

@ -24,6 +24,7 @@ jobs:
contents: read
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout base repository
@ -148,6 +149,7 @@ jobs:
- name: Run Marvin for Issue Triage
uses: anthropics/claude-code-action@v1
with:
github_token: ${{ steps.marvin-token.outputs.token }}
prompt_file: /tmp/claude-prompts/triage-prompt.txt
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY_FOR_CI }}
claude_args: |