chore: update osv-scanner to 1.9.1 (#111)
* chore: update osv-scanner to 1.9.1 update osv-scanner to 1.9.1 * fix: actions permissions --------- Co-authored-by: hardy <luohf@infinilabs.com>
This commit is contained in:
parent
f910203599
commit
9d120276d1
|
@ -16,14 +16,16 @@ on:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
# Required to upload SARIF file to CodeQL. See: https://github.com/github/codeql-action/issues/2117
|
||||||
|
actions: read
|
||||||
# Require writing security events to upload SARIF file to security tab
|
# Require writing security events to upload SARIF file to security tab
|
||||||
security-events: write
|
security-events: write
|
||||||
# Read commit contents
|
# Only need to read contents
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
scan-pr:
|
scan-pr:
|
||||||
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1
|
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.9.1"
|
||||||
with:
|
with:
|
||||||
# Example of specifying custom arguments
|
# Example of specifying custom arguments
|
||||||
scan-args: |-
|
scan-args: |-
|
||||||
|
|
Loading…
Reference in New Issue