fix(workflow): update Claude action to use claude_args for model configuration (#7834)

This commit is contained in:
Andras Bacsai 2026-01-01 12:04:27 +01:00 committed by GitHub
commit 288f4e3e8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@ jobs:
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
model: opus
claude_args: '--model opus'
# This is an optional setting that allows Claude to read CI results on PRs
additional_permissions: |
@ -45,8 +45,3 @@ jobs:
# When triggered by Claude label, provide default prompt to work on the issue
prompt: ${{ github.event.action == 'labeled' && 'ultrathink Please analyze this issue and implement a solution. Follow the project guidelines in CLAUDE.md.' || '' }}
# Optional: Add claude_args to customize behavior and configuration
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://code.claude.com/docs/en/cli-reference for available options
# claude_args: '--allowed-tools Bash(gh pr:*)'