Skip to content

Commit 0fcae00

Browse files
JPeer264claude
andcommitted
chore(ci): Use pull-requests: write for PR review reminder workflow
The schedule-triggered workflow was failing with 403 when trying to create comments on PRs. GitHub requires `pull-requests: write` (not `issues: write`) to create comments on pull requests via the Issues API when the workflow runs on schedule. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 217ad4a commit 0fcae00

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/pr-review-reminder.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ on:
77
# Saturday/Sunday are never counted as business days.
88
- cron: '0 10 * * 1-5'
99

10-
# pulls.* list + listRequestedReviewers → pull-requests: read
11-
# issues timeline + comments + createComment → issues: write
10+
# pulls.* list + listRequestedReviewers + createComment on PRs → pull-requests: write
1211
# repos.listCollaborators (outside) → Metadata read on the token (see GitHub App permission map)
1312
# checkout → contents: read
1413
permissions:
1514
contents: read
16-
issues: write
17-
pull-requests: read
15+
pull-requests: write
1816

1917
concurrency:
2018
group: ${{ github.workflow }}

0 commit comments

Comments
 (0)