From 87f6f9e9d8d4bc51826ff1cf2f15ee9b29067557 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Fri, 2 Oct 2026 15:53:55 -0700 Subject: [PATCH] fix(ci): let the AI review react to the triggering comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The gate and finish jobs had issues: write, but a comment on a pull request is a pull request comment for permissions, so adding the 👀, 🚀 and 😕 reactions failed with HTTP 403 (seen on the first run, PR #28982). Grant pull-requests: write instead. The review itself was unaffected: reactions are best effort. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Ramon Roche --- .github/workflows/pr-ai-review.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-ai-review.yml b/.github/workflows/pr-ai-review.yml index 9a1ab2c440b..5645e8a1dec 100644 --- a/.github/workflows/pr-ai-review.yml +++ b/.github/workflows/pr-ai-review.yml @@ -62,7 +62,9 @@ jobs: timeout-minutes: 5 permissions: contents: read - issues: write # react to the triggering comment + # reacting to a comment on a pull request needs pull-requests, not + # issues, permission + pull-requests: write outputs: run: ${{ steps.decide.outputs.run }} pr: ${{ steps.decide.outputs.pr }} @@ -204,7 +206,7 @@ jobs: timeout-minutes: 5 permissions: contents: read - issues: write + pull-requests: write # react to the triggering comment steps: - uses: runs-on/action@v2 - name: Checkout review tooling