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:
Hardy 2025-02-12 17:33:18 +08:00 committed by GitHub
parent f910203599
commit 9d120276d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -16,14 +16,16 @@ on:
branches: [ "main" ]
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
security-events: write
# Read commit contents
# Only need to read contents
contents: read
jobs:
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:
# Example of specifying custom arguments
scan-args: |-