Skip to content

Commit 7b877fe

Browse files
Merge pull request #4 from github-samples/alert-autofix-2
Potential fix for code scanning alert no. 2: Workflow does not contain permissions
2 parents 21cfbd1 + 9ff107d commit 7b877fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [main]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
ci:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)