From 60e4bfa4da9e7749c467e14d0dfe3499c47e3518 Mon Sep 17 00:00:00 2001 From: William Aaron Cheung Date: Wed, 8 Jul 2026 09:55:52 +0800 Subject: [PATCH] ci(claude-pr-review): pin default review model to claude-opus-4-7 The model input defaulted to the 'opus' alias, which resolves to whatever the latest Opus is at run time (currently Opus 4.8). Pin it to claude-opus-4-7 so PR reviews run on a fixed, predictable model instead of silently moving when the alias advances. --- .github/actions/claude-pr-review/action.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/actions/claude-pr-review/action.yml b/.github/actions/claude-pr-review/action.yml index 4090660..f476e04 100644 --- a/.github/actions/claude-pr-review/action.yml +++ b/.github/actions/claude-pr-review/action.yml @@ -19,11 +19,12 @@ inputs: description: Additional prompt text appended after the canonical prompt. model: required: false - default: opus + default: claude-opus-4-7 description: > - Model for the review agent, passed through to `claude --model`. Defaults - to `opus`; set to another model id to override, or empty to fall through - to the claude-code-action / CLI default (Sonnet class). + Model for the review agent, passed through to `claude --model`. Pinned to + `claude-opus-4-7` so reviews stay on a fixed model rather than following + the moving `opus` alias; set to another model id to override, or empty to + fall through to the claude-code-action / CLI default (Sonnet class). review_depth: required: false default: standard