Commit 2fee640
committed
fix: add explicit permissions block to CI workflow
Add minimal permissions block to comply with GitHub security best practices.
The GITHUB_TOKEN now only has 'contents: read' permission, which is
sufficient for a CI workflow that only runs tests and builds.
This resolves the CodeQL alert: 'Workflow does not contain permissions'
See: https://docs.github.com/en/actions/security-guides/automatic-token-validation1 parent 662ac3e commit 2fee640
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
| |||
0 commit comments