fix: support CLAUDE_CODE_OAUTH_TOKEN in workflow auth input

This commit is contained in:
Mark Wylde
2026-06-11 20:19:58 +01:00
parent 9e0dd107c5
commit 40cb961bdf
7 changed files with 12 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- name: PR Review with Progress Tracking
uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CODE_OAUTH_TOKEN }}
prompt: "/review-pr REPO: ${{ github.repository }} PR_NUMBER: ${{ github.event.pull_request.number }}"
claude_args: |