Skip to content

Commit a686e26

Browse files
committed
GitHub Actions: Fix CodeQL workflow
The CodeQL workflow needs a permission section to run: `...please ensure the workflow has at least the 'security-events: read' permission.`
1 parent 151dfe4 commit a686e26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
schedule:
1515
- cron: '0 22 * * 1'
1616

17+
permissions:
18+
contents: read
19+
security-events: read
20+
1721
jobs:
1822
analyze:
1923
name: Analyze

0 commit comments

Comments
 (0)