Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Fix Claude Code Review workflow so comments post on PRs - #12

Open
jonnyspicer wants to merge 1 commit into
mainfrom
fix/claude-review-comments
Open

jonnyspicer wants to merge 1 commit into
mainfrom
fix/claude-review-comments

Conversation

@jonnyspicer

Copy link
Copy Markdown
Contributor

Problem

The Claude Code Review workflow ran on PRs but no review ever appeared. Two
layers of permission denials caused this:

  1. The job's GITHUB_TOKEN was scoped to pull-requests: read / issues: read,
    so every attempt to post was denied.
  2. The code-review plugin buffers inline comments via
    mcp__github_inline_comment__create_inline_comment, which was not in Claude's
    allowed tools, so posts were denied even with write scope.

Fix

  • Grant pull-requests: write and issues: write.
  • Add --allowedTools with the inline-comment MCP tool and gh commands so the
    plugin can buffer and post its review.
  • Enable track_progress: true for a visible summary comment.

This mirrors the fix already applied to tower-finder-service.

🤖 Generated with Claude Code

The workflow's GITHUB_TOKEN was scoped to pull-requests/issues: read, so
the review ran but every attempt to post it was denied and nothing
appeared on the PR. Grant write scope, add the inline-comment MCP tool
and gh commands to --allowedTools so the code-review plugin can buffer
and post its comments, and enable track_progress for a visible summary.

Mirrors the fix already applied to tower-finder-service.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant