fix(ci): let the AI review react to the triggering comment

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 <mrpollo@gmail.com>
This commit is contained in:
Ramon Roche committed 2026-10-02 16:33:32 -07:00
1 parent 12b158889b
commit 87f6f9e9d8
1 file changed
+4 -2
+4 -2
View File
@@ -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