added github_token permissions

This commit is contained in:
h0x0er
2022-02-11 16:50:05 +05:30
committed by GitHub
parent e9cc9b14bc
commit 2a4545affa
+6
View File
@@ -42,9 +42,15 @@ on:
- cron: $cron-weekly - cron: $cron-weekly
workflow_dispatch: workflow_dispatch:
permissions:
contents: read
jobs: jobs:
xanitizer-security-analysis: xanitizer-security-analysis:
# Xanitizer runs on ubuntu-latest and windows-latest. # Xanitizer runs on ubuntu-latest and windows-latest.
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 runs-on: ubuntu-latest
steps: steps: