Skip to content

Commit ea81d41

Browse files
ashwin-antclaude
andauthored
chore: update Claude model to opus-4-6 in CI workflows (anthropics#556)
## Summary - Update all GitHub Actions workflows to use `claude-opus-4-6` model - Enable explicit model selection in `claude-code-review.yml` and `claude.yml` (previously commented out) - Update model from `claude-opus-4-5` to `claude-opus-4-6` in `build-and-publish.yml` ## Test plan - [ ] Verify `build-and-publish.yml` workflow runs successfully with new model - [ ] Verify `claude-code-review.yml` workflow triggers and uses correct model on PR review - [ ] Verify `claude.yml` workflow triggers and uses correct model on issue/PR mention ## Changelog <!-- CHANGELOG:START --> <!-- CHANGELOG:END --> 🤖 Generated with [Claude Code](https://claude.com/claude-code) (0% 1-shotted by claude-opus-4-6) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 97de454 commit ea81d41

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
9595
github_token: ${{ secrets.GITHUB_TOKEN }}
9696
claude_args: |
97-
--model claude-opus-4-5
97+
--model claude-opus-4-6
9898
--allowedTools 'Bash(git add:*),Bash(git commit:*),Edit'
9999
100100
- name: Push to main

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ jobs:
3333
with:
3434
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3535

36-
# Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4)
37-
# claude_args: --model claude-opus-4-20250514
36+
claude_args: --model claude-opus-4-6
3837

3938
# Direct prompt for automated review (no @claude mention needed)
4039
prompt: |

.github/workflows/claude.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ jobs:
4545
with:
4646
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
4747

48-
# Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4)
49-
# claude_args: --model claude-opus-4-20250514
48+
claude_args: --model claude-opus-4-6
5049

5150
# Optional: Customize the trigger phrase (default: @claude)
5251
# trigger_phrase: "/claude"

0 commit comments

Comments
 (0)