Skip to content

Commit a797e49

Browse files
Merge pull request #8 from RumenDamyanov/alert-autofix-1
Fix for code scanning alert no. 1: Workflow does not contain permissions
2 parents f505f01 + 99ff38e commit a797e49

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

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

35
on:
46
push:
@@ -36,6 +38,9 @@ jobs:
3638
test:
3739
name: Test
3840
runs-on: ${{ matrix.os }}
41+
permissions:
42+
contents: read
43+
pull-requests: write
3944

4045
strategy:
4146
matrix:

0 commit comments

Comments
 (0)