Skip to content

Commit e962b17

Browse files
committed
ci: declare workflow-level contents: read on 1 workflow
Declares an explicit workflow-level permissions: contents: read on 1 workflow that currently inherit the default broad read-write GITHUB_TOKEN. Each file was inspected and only reads the checkout; none publish, push, or write via the GitHub API. Post-CVE-2025-30066 hardening default. Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
1 parent eb46623 commit e962b17

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/social-rfc-update.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
# Can't use pull_request because it won't have access to secrets
44
pull_request_target:
55
types: [labeled, closed]
6+
7+
permissions:
8+
contents: read
9+
610
jobs:
711
tweetStateChange:
812
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)