Skip to content

Commit 22da72f

Browse files
bsamekclaude
andauthored
Update Claude GitHub Action to use Opus 4.5 model (#4)
Configure both workflow files to use claude-opus-4-5-20251101 via the claude_args parameter. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4ca01a8 commit 22da72f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
4040
plugins: 'code-review@claude-code-plugins'
4141
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
42+
# Use Opus 4.5 model
4243
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
4344
# or https://code.claude.com/docs/en/cli-reference for available options
45+
claude_args: '--model claude-opus-4-5-20251101'
4446

.github/workflows/claude.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
4444
# prompt: 'Update the pull request description to include a summary of changes.'
4545

46-
# Optional: Add claude_args to customize behavior and configuration
46+
# Use Opus 4.5 model
4747
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
4848
# or https://code.claude.com/docs/en/cli-reference for available options
49-
# claude_args: '--allowed-tools Bash(gh pr:*)'
49+
claude_args: '--model claude-opus-4-5-20251101'
5050

0 commit comments

Comments
 (0)