We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dce08d commit bcbb68fCopy full SHA for bcbb68f
.github/workflows/osv-scanner.yml
@@ -16,17 +16,19 @@ on:
16
branches: [ "main" ]
17
18
permissions:
19
+ # Required to upload SARIF file to CodeQL. See: https://github.com/github/codeql-action/issues/2117
20
+ actions: read
21
# Require writing security events to upload SARIF file to security tab
22
security-events: write
- # Read commit contents
23
+ # Only need to read contents
24
contents: read
25
26
jobs:
27
scan-pr:
- uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1
28
+ uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.9.1"
29
with:
30
# Example of specifying custom arguments
31
scan-args: |-
32
-r
33
--skip-git
- ./
34
+ /github/workspace
0 commit comments