Skip to content

Commit e711226

Browse files
authored
Set explicit workflow permissions (#258)
Fix actions/missing-workflow-permissions in Code Scanning alerts
1 parent e4f3fce commit e711226

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

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

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
test:
1518
name: ${{ matrix.os }}

0 commit comments

Comments
 (0)