Merge pull request #1400 from h0x0er/patch-5

Added github_token permissions in code-scanning/powershell.yml
This commit is contained in:
Sampark Sharma
2022-04-04 15:01:40 +05:30
committed by GitHub
+6
View File
@@ -17,8 +17,14 @@ on:
schedule:
- cron: $cron-weekly
permissions:
contents: read
jobs:
build:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: PSScriptAnalyzer
runs-on: ubuntu-latest
steps: