Skip to content

Commit 4d523af

Browse files
emptyhammondclaude
andcommitted
fix(ci): restore issues:write for gh pr comment in pr-overview.yml
The app token in pr-overview.yml runs `gh pr comment`, which posts via the GitHub Issues API endpoint and requires `issues: write`. The hardening pass dropped this scope from both the top-level permissions and the app token, which would cause the overview comment to fail with a 403. Restore `issues: write` to match the working claude-review.yml pattern. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8ec6867 commit 4d523af

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/pr-overview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
permissions:
88
contents: read
99
pull-requests: write
10+
issues: write
1011

1112
jobs:
1213
generate-overview:
@@ -32,7 +33,8 @@ jobs:
3233
private-key: ${{ secrets.CLAUDE_APP_PRIVATE_KEY }}
3334
permissions: >-
3435
contents:read,
35-
pull-requests:write
36+
pull-requests:write,
37+
issues:write
3638
3739
- name: Generate PR Overview
3840
uses: anthropics/claude-code-action@1dc994ee7a008f0ecc866d9ac23ef036b7229f84 # v1

0 commit comments

Comments
 (0)