Skip to content

Commit

Permalink
CI: fix CodeQL permissions
Browse files Browse the repository at this point in the history
This is needed after switching default token permissions to be restrictive by default.
github/codeql#8843
  • Loading branch information
slyon committed Jul 24, 2024
1 parent b13b518 commit bb112ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
Expand Down

0 comments on commit bb112ef

Please sign in to comment.