Skip to content

Commit 7fb5c5b

Browse files
committed
ci(build-test): cap GITHUB_TOKEN to contents: read
Workflow runs checks only; no GitHub API writes. Post-CVE-2025-30066 hardening pattern. Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
1 parent b5159a5 commit 7fb5c5b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- genMatrix.js
1616
- ".github/workflows/build-test.yml"
1717

18+
permissions:
19+
contents: read
20+
1821
jobs:
1922
gen-matrix:
2023
name: generate-matrix

0 commit comments

Comments
 (0)