Skip to content

Commit 3c9e879

Browse files
kevin1chunclaude
andcommitted
fix: use claude_args instead of invalid model input for Opus 4.6
`model` is not a valid input for claude-code-action@v1. The correct way to set the model is via `claude_args: '--model claude-opus-4-6'`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b67087b commit 3c9e879

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: anthropics/claude-code-action@v1
3737
with:
3838
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
39-
model: 'claude-opus-4-6'
39+
claude_args: '--model claude-opus-4-6'
4040
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
4141
plugins: 'code-review@claude-code-plugins'
4242
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: anthropics/claude-code-action@v1
3636
with:
3737
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38-
model: 'claude-opus-4-6'
38+
claude_args: '--model claude-opus-4-6'
3939

4040
# This is an optional setting that allows Claude to read CI results on PRs
4141
additional_permissions: |

0 commit comments

Comments
 (0)