Merge pull request #1419 from Devils-Knight/permks-2

Add token permissions for code-scanning/brakeman.yml
This commit is contained in:
Nick Fyson
2022-03-01 19:31:13 +00:00
committed by GitHub
+6
View File
@@ -17,8 +17,14 @@ on:
schedule:
- cron: $cron-weekly
permissions:
contents: read
jobs:
brakeman-scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
name: Brakeman Scan
runs-on: ubuntu-latest
steps: