use oauth for code claude + sonnet

This commit is contained in:
Ruben Fiszel
2025-09-03 12:09:26 +00:00
parent b82a81f3ad
commit 9bef2ca4ca
2 changed files with 8 additions and 2 deletions
+6 -1
View File
@@ -95,10 +95,15 @@ jobs:
env:
SQLX_OFFLINE: true
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
timeout_minutes: "60"
allowed_tools: "mcp__github__create_pull_request,Bash"
allowed_bots: "windmill-internal-app[bot]"
# claude_args: |
# --max-turns 10
# --model claude-4-0-sonnet-20250805
model: claude-opus-4-1-20250805
fallback_model: claude-sonnet-4-20250514
custom_instructions: |
## IMPORTANT INSTRUCTIONS
- Your branch name should be a short description of the requested changes.
+2 -1
View File
@@ -25,7 +25,8 @@ jobs:
- name: Automatic PR Review
uses: anthropics/claude-code-action@beta
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
# anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
timeout_minutes: "60"
direct_prompt: |
Please review this pull request and provide comprehensive feedback.