Skip to content

Commit 6f39f9c

Browse files
committed
CI: add security-events write permission
this fixes the failure encountered when trying to upload the SARIF report during the CI run for the branch. in the PR it worked fine. the fix was suggested here: github/codeql-action#1720 (comment)
1 parent 3b2095a commit 6f39f9c

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
@@ -1,5 +1,8 @@
11
name: CI
22

3+
permissions:
4+
security-events: write # needed to upload SARIF reports on branch builds
5+
36
on:
47
push:
58
branches: [ "master" ]

0 commit comments

Comments
 (0)