Additional workflow permissions tweaks
Signed-off-by: Eddie Knight <knight@linux.com>
This commit is contained in:
4
.github/workflows/scan.yaml
vendored
4
.github/workflows/scan.yaml
vendored
@@ -51,10 +51,10 @@ jobs:
|
||||
sarif_file: snyk.sarif
|
||||
|
||||
codeql:
|
||||
permissions:
|
||||
security-events: write # for codeQL to write security events
|
||||
name: CodeQL
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write # for codeQL to write security events
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
Reference in New Issue
Block a user