From a1189080503a8d1b8fce53128b7848937ac979e9 Mon Sep 17 00:00:00 2001 From: Tom Riglar Date: Fri, 12 Jun 2026 20:44:18 +0100 Subject: [PATCH] ci: grant pull-requests write so Claude review can post its comments 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 --- .github/workflows/claude-code-review.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index b5e8cfd..ae19d60 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -21,7 +21,10 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - pull-requests: read + # write so the review agent can post its inline comments — with read it + # reviews successfully but every posting attempt is denied and the PR + # gets nothing (the action still exits 0). + pull-requests: write issues: read id-token: write