ci: pass --comment so the Claude review is actually posted to the PR#8
Merged
Conversation
The code-review plugin's spec stops before posting anything when --comment is absent: "If --comment argument was NOT provided, stop here. Do not post any GitHub comments." Combined with show_full_output: false, the review on PR #7 ran to completion and was entirely discarded. The pull-requests: write permission from #6 was necessary but not sufficient — this flag is the missing half. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jun 12, 2026
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
Second half of the silent-review fix. PR #6 granted
pull-requests: write(the token could now post), but PR #7's review still posted nothing. Root cause this time is in the code-review plugin's own spec, step 7:Our prompt invoked
/code-review:code-review <repo>/pull/<n>without--comment, so the review ran (8 turns on #7), validated its findings, and discarded them — and withshow_full_output: falsethe verdict isn't even visible in the workflow log.With
--comment: issues → inline PR comments via the plugin's inline-comment tool; no issues → a summary comment. Both paths need the write permission from #6, so the two fixes compose.Test plan
Note: the
claude-reviewcheck on this PR will fail with "Workflow validation failed" — that's the action's anti-tamper guard, which refuses to run a workflow file that differs from the default branch's copy (same as on #6; the action's own error message says to ignore it). The real test is the next PR after this merges, which should finally receive a visible review comment.🤖 Generated with Claude Code