Skip to content

Commit

Permalink
CodeQL action gains security permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Stargator committed May 28, 2024
1 parent e151466 commit 3f7e7f5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 120
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
Expand Down

0 comments on commit 3f7e7f5

Please sign in to comment.