Skip to content

Commit

Permalink
🌱 Updated actions permission for codeql
Browse files Browse the repository at this point in the history
* Updated the actions permissions for codeql from write to specific
  settings. #942
  • Loading branch information
naveensrinivasan committed Sep 3, 2021
1 parent f55b86d commit baf5ef3
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 @@ -26,6 +26,10 @@
name: "CodeQL"

on:
permissions:
contents: read
statuses: write
security-events: write
push:
branches: [ main ]
pull_request:
Expand Down

0 comments on commit baf5ef3

Please sign in to comment.