Skip to content

Commit bf4a50f

Browse files
authored
Merge pull request #46 from flatcar/github-actions-ci-permission
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
2 parents 585a0bb + 24c71a3 commit bf4a50f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: C/C++ CI
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]

0 commit comments

Comments
 (0)