Skip to content

VIH-11085 Add OSV Scanner GitHub action #2

VIH-11085 Add OSV Scanner GitHub action

VIH-11085 Add OSV Scanner GitHub action #2

Workflow file for this run

name: OSV-Scanner PR Scan
# Change "main" to your default branch if you use a different name, i.e. "master"
on:
pull_request:
branches: [master]
merge_group:
branches: [master]
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
# Only need to read contents
contents: read
jobs:
scan-pr:
uses: 'google/osv-scanner-action/.github/workflows/[email protected]'