You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR makes three targeted improvements to the Claude auto-reviewer GitHub Action:
Enables sticky comments so repeated pushes update a single comment rather than flooding the PR thread.
Explicitly pins the Claude model to claude-sonnet-4-6.
Caps agent turns at 25 to bound API costs.
Assessment
Sticky comments (use_sticky_comment: true) — Good change. Without this, every synchronize event (new push) creates a fresh review comment, which clutters the PR thread. Updating in-place is cleaner.
Model pinning (--model claude-sonnet-4-6) — Reasonable for a CI workflow where reproducibility matters. Trade-off is that it won't automatically pick up newer/better models. Consider a periodic review to bump this when a meaningfully better model is available.
--max-turns 25 — A sensible safety rail. The current allowedTools list is narrow (view/diff/comment only), so a complex review is unlikely to need anywhere near 25 turns in practice. No concern here.
Minor Notes
The claude_args block passes flags as a multi-line string; the action presumably joins these lines. Worth confirming this is the documented input format for the action version pinned here (v1.0.127), but it appears to already work given the existing --allowedTools line uses the same style.
No secrets, credentials, or sensitive data are touched by this change.
Verdict
Clean, low-risk configuration improvement. No blocking issues.
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
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.
No description provided.