added github_token permissions

This commit is contained in:
h0x0er
2022-02-14 11:13:30 +05:30
committed by GitHub
parent 7fb1c31151
commit 14ce90e99f
+6
View File
@@ -19,8 +19,14 @@ on:
schedule:
- cron: $cron-weekly
permissions:
contents: read
jobs:
semgrep:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: Scan
runs-on: ubuntu-latest
steps: