Skip to content

Commit 60b94c6

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 82c0b4f commit 60b94c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/triage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- opened
1111
- reopened
1212

13+
permissions:
14+
pull-requests: write
15+
issues: write
16+
1317
jobs:
1418
triage:
1519
uses: smallstep/workflows/.github/workflows/triage.yml@main

0 commit comments

Comments
 (0)