Skip to content

Commit 17d7388

Browse files
tashianclaude
andcommitted
Add least-privilege permissions to triage workflow
Add explicit permissions: block (pull-requests: write, issues: write) to constrain GITHUB_TOKEN scope on pull_request_target trigger. Ref: https://www.stepsecurity.io/blog/hackerbot-claw-github-actions-exploitation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6e8d568 commit 17d7388

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/triage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
types:
99
- opened
1010

11+
permissions:
12+
pull-requests: write
13+
issues: write
14+
1115
jobs:
1216

1317
label:

0 commit comments

Comments
 (0)