Merge pull request #1480 from Devils-Knight/permks-5

Add token permissions for code-scanning/ossar.yml
This commit is contained in:
Sampark Sharma
2022-04-04 16:02:26 +05:30
committed by GitHub
+6
View File
@@ -17,10 +17,16 @@ on:
schedule:
- cron: $cron-weekly
permissions:
contents: read
jobs:
OSSAR-Scan:
# OSSAR runs on windows-latest.
# ubuntu-latest and macos-latest support coming soon
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: windows-latest
steps: