Skip to content

Commit

Permalink
🌱 Updated actions permission for codeql (#964)
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 authored Sep 7, 2021
1 parent 942c4cf commit a3d63bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
Expand All @@ -33,6 +32,11 @@ on:
branches: [ main ]
schedule:
- cron: '36 19 * * 3'

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

jobs:
analyze:
Expand Down

0 comments on commit a3d63bf

Please sign in to comment.