From 63c5c54a3982239b5e57311c62f5bc7acd72541e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Mon, 2 Feb 2026 11:38:01 +0100 Subject: [PATCH] fix: force Claude Code to use Opus model (#17618) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Add `--model opus` to `claude_args` in both the direct and cross-repo Claude jobs ## Test plan - [ ] Merge and trigger @claude — verify it reports running Opus 4.5 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 --- .github/workflows/claude.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index d47c31d004..1ddb66fb8b 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -74,7 +74,7 @@ jobs: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} additional_permissions: | actions: read - claude_args: "--max-turns 50" + claude_args: "--max-turns 50 --model opus" claude-cross-repo: if: github.event_name == 'repository_dispatch' @@ -139,7 +139,7 @@ jobs: prompt: ${{ steps.prompt.outputs.prompt }} additional_permissions: | actions: read - claude_args: "--max-turns 50" + claude_args: "--max-turns 50 --model opus" - name: Post response to source issue if: always() uses: actions/github-script@v7