Skip to content

Commit d510fd8

Browse files
authored
VLN-474: Set explicit permissions for GitHub Actions workflows (#869)
## Summary - `.github/workflows/ci.yaml`: Set workflow-level permissions so the GITHUB_TOKEN only reads repository contents and retains actions write access needed for artifact uploads.
1 parent 96085e6 commit d510fd8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
actions: write
11+
812
jobs:
913
build-test:
1014
strategy:

0 commit comments

Comments
 (0)