Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit d0bb88b

Browse files
committed
Update codeql-analysis.yml
This should solve the permission errors we've seen in CodeQL. The original file was generated by github and didn't have any permission limits, so not sure if this will actually work. But in theory these are the permissions that CodeQL needs, so lets just try force them
1 parent d4aec78 commit d0bb88b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ on:
2020
schedule:
2121
- cron: "42 20 * * 6"
2222

23+
permissions:
24+
actions: read
25+
contents: read
26+
security-events: write
27+
2328
jobs:
2429
analyze:
2530
name: Analyze

0 commit comments

Comments
 (0)