mirror of
https://github.com/markwylde/claude-code-gitea-action.git
synced 2026-06-21 23:09:01 +08:00
fix: pass Claude Code OAuth token to workflows
This commit is contained in:
3
.github/workflows/claude-review.yml
vendored
3
.github/workflows/claude-review.yml
vendored
@@ -20,7 +20,8 @@ jobs:
|
||||
- name: PR Review with Progress Tracking
|
||||
uses: anthropics/claude-code-action@v1
|
||||
with:
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||
|
||||
prompt: "/review-pr REPO: ${{ github.repository }} PR_NUMBER: ${{ github.event.pull_request.number }}"
|
||||
claude_args: |
|
||||
|
||||
Reference in New Issue
Block a user