ci: pin default Claude review model to claude-opus-4-7#78
Merged
Conversation
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.
Contributor
There was a problem hiding this comment.
✅ Clean
- Summary: reviewed the one-file change in
.github/actions/claude-pr-review/action.ymlthat pins themodelinput default from the movingopusalias toclaude-opus-4-7and refreshes the description. - Correctness:
claude-opus-4-7is the valid hyphenated model id passed straight through toclaude --model; override path (including passingopusto opt back into the moving alias) and empty-string fall-through are preserved. - Design: pinning a moving alias is the right call — reviews stay reproducible when the alias advances, and the change is scoped narrowly to the default plus its description.
- Repo conventions: PR title is Conventional Commits and the branch follows the
{developer}/{category}/{description}pattern fromCLAUDE.md. - No new actionable findings.
- Still open from earlier reviews: none.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
claude-pr-reviewcomposite action'smodelinput defaulted to theopusalias, which resolves to whatever the latest Opus model is at run time (currently Opus 4.8). Every consuming repo (mega-reth, mega-evm, mega-e2e, mega-agents, mega-devops, dist-docs, watchdog-rpc, documentation) inherits this default.claude-opus-4-7so PR reviews run on a fixed, predictable model instead of silently shifting when the alias advances to a new Opus release.modelinput, or set it empty to fall through to the claude-code-action / CLI default.Test plan
default:value and description of themodelinput in.github/actions/claude-pr-review/action.yml; the composite action logic is unchanged.claude --model;claude-opus-4-7is a valid model id (hyphenated form the CLI expects).--model claude-opus-4-7.This PR was generated by an automated agent.