1
0
mirror of https://github.com/kairos-io/immucore.git synced 2025-05-13 10:35:12 +00:00

Add osv scanner for PRs ()

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
Mauro Morales 2024-07-03 12:37:09 +02:00 committed by GitHub
parent 270b7015c6
commit 71f0ddeb9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

18
.github/workflows/osv-scanner-pr.yaml vendored Normal file
View File

@ -0,0 +1,18 @@
name: OSV-Scanner PR Scan
# Change "main" to your default branch if you use a different name, i.e. "master"
on:
pull_request:
branches: [main]
merge_group:
branches: [main]
permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
# Only need to read contents
contents: read
jobs:
scan-pr:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.7.1"