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
+1 -6
View File
@@ -36,7 +36,7 @@ jobs:
uses: anthropics/claude-code-action@v1 uses: anthropics/claude-code-action@v1
with: with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} 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 # This is an optional setting that allows Claude to read CI results on PRs
additional_permissions: | additional_permissions: |
@@ -45,8 +45,3 @@ jobs:
# When triggered by Claude label, provide default prompt to work on the issue # 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.' || '' }} 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:*)'