Skip to content

Commit 1c146da

Browse files
authored
fix: add security-events write permission to CodeQL workflow
This adds the 'security-events: write' permission to allow the CodeQL Action to access Code Scanning API endpoints and opt into experimental features. Resolves the 'Resource not accessible by integration' warning.
1 parent 09b9c07 commit 1c146da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 'Code Scanning - Action'
22
permissions:
33
contents: read
4+
security-events: write
45

56
on:
67
push:

0 commit comments

Comments
 (0)