ci: grant pull-requests write so Claude review can post its comments#6
Merged
Conversation
The review workflow ran on PR #5 and completed the review, but pull-requests: read meant all 15 attempts to post inline comments were denied and the PR received nothing while the check still showed green. The official claude-code-action review examples use write. 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
The
claude-reviewworkflow fired on PR #5 and completed a full review (14 turns), butpull-requests: readmeant all 15 attempts to post the inline comments were denied — the PR received nothing while the check showed green. The officialanthropics/claude-code-actionreview examples usepull-requests: writefor exactly this reason.One-line change:
pull-requests: read→writeon theclaude-reviewjob, with a comment explaining why.Test plan
This PR is its own test: for
pull_requestevents GitHub runs the workflow from the PR's merge ref, so the new permission applies to this very run — if a review comment lands on this PR, the fix works.🤖 Generated with Claude Code