Skip to content

Commit 497a7a1

Browse files
authored
Merge pull request #1292 from consideRatio/pr/fix-permissions-for-codeql-github-token
ci: add github-token permissions for CodeQL workflow
2 parents 6565084 + 0338ee1 commit 497a7a1

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
@@ -9,6 +9,10 @@ jobs:
99
analyze:
1010
name: Analyze
1111
runs-on: ubuntu-latest
12+
permissions:
13+
actions: read
14+
contents: read
15+
security-events: write
1216

1317
strategy:
1418
fail-fast: false

0 commit comments

Comments
 (0)