Merge pull request #1398 from h0x0er/patch-3

Added github_token permissions in code-scanning/snyk-infrastructure.yml
This commit is contained in:
Sampark Sharma
2022-04-05 11:14:06 +05:30
committed by GitHub
+6
View File
@@ -21,8 +21,14 @@ on:
schedule:
- cron: $cron-weekly
permissions:
contents: read
jobs:
snyk:
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
steps:
- uses: actions/checkout@v3