Skip to content

ci: grant pull-requests write so Claude review can post its comments#6

Merged
riglar merged 1 commit into
devfrom
ci/claude-review-write-permission
Jun 12, 2026
Merged

ci: grant pull-requests write so Claude review can post its comments#6
riglar merged 1 commit into
devfrom
ci/claude-review-write-permission

Conversation

@riglar

@riglar riglar commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

The claude-review workflow fired on PR #5 and completed a full review (14 turns), but pull-requests: read meant all 15 attempts to post the inline comments were denied — the PR received nothing while the check showed green. The official anthropics/claude-code-action review examples use pull-requests: write for exactly this reason.

One-line change: pull-requests: readwrite on the claude-review job, with a comment explaining why.

Test plan

This PR is its own test: for pull_request events 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

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant