Skip to content

Commit 5466779

Browse files
authored
ci(lint-and-built): cap GITHUB_TOKEN to contents: read (#50)
Workflow runs checks only; no GitHub API writes. Post-CVE-2025-30066 hardening pattern. Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
1 parent fd90132 commit 5466779

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/lint-and-built.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- '*'
1111
workflow_dispatch:
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
build-translation:
1518
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)