Skip to content

Commit 43caeda

Browse files
authored
Add minimal permission for build workflow (#141)
As suggested by CodeQL code scanning alert: ``` Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read} ```
1 parent 8fa4e14 commit 43caeda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Build
2+
permissions:
3+
contents: read
24

35
on: [push]
46

0 commit comments

Comments
 (0)