Skip to content

Commit

Permalink
fix: specify permissions when doing CodeQL analysis via CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomiguelino committed Jul 3, 2024
1 parent 0517242 commit 3c9ffaf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
name: Analyze
runs-on: ubuntu-latest

permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 3c9ffaf

Please sign in to comment.