added token permissions

This commit is contained in:
h0x0er
2022-02-11 16:47:51 +05:30
committed by GitHub
parent e9cc9b14bc
commit b88366bf0e
+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@v2