Skip to content

Commit 4fb8666

Browse files
chore: use Claude Opus 4.7 1M context in workflows (#2241)
1 parent aa8f927 commit 4fb8666

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ jobs:
3535
anthropic_api_key: ${{ secrets.CLAUDE_API_KEY }}
3636
show_full_output: false
3737
claude_args: |
38-
--model claude-opus-4-6
38+
--model 'claude-opus-4-7[1m]'
3939
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
4040
plugins: 'code-review@claude-code-plugins'
4141
prompt: '/code-review:code-review --comment'
4242
additional_permissions: |
4343
actions: read
44-
4544
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
4645
# or https://code.claude.com/docs/en/cli-reference for available options
47-

.github/workflows/claude.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545
uses: anthropics/claude-code-action@v1
4646
with:
4747
anthropic_api_key: ${{ secrets.CLAUDE_API_KEY }}
48-
# path_to_claude_code_executable: ${{ env.CLAUDE_PATH }}
48+
# path_to_claude_code_executable: ${{ env.CLAUDE_PATH }}
4949
# This is an optional setting that allows Claude to read CI results on PRs
5050
claude_args: |
51-
--model claude-opus-4-6
51+
--model 'claude-opus-4-7[1m]'
5252
additional_permissions: |
5353
actions: read
5454
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
@@ -58,4 +58,3 @@ jobs:
5858
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
5959
# or https://code.claude.com/docs/en/cli-reference for available options
6060
# claude_args: '--allowed-tools Bash(gh pr:*)'
61-

0 commit comments

Comments
 (0)