Merge pull request #1432 from Devils-Knight/permks-10

Add token permissions for code-scanning/njsscan.yml
This commit is contained in:
Nick Fyson
2022-02-16 09:20:03 +00:00
committed by GitHub
+6
View File
@@ -17,8 +17,14 @@ on:
schedule:
- cron: $cron-weekly
permissions:
contents: read
jobs:
njsscan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest
name: njsscan code scanning
steps: