Skip to content

OSV-Scanner

OSV-Scanner #31

Workflow file for this run

name: OSV-Scanner
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 34 10 * * 1
workflow_dispatch: {}
permissions:
actions: read
contents: read
security-events: write
jobs:
scan-scheduled:
name: OSV scan scheduled
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@19ec1116569a47416e11a45848722b1af31a857b # v1.9.0
with:
scan-args: |-
-r
--skip-git
./
scan-pr:
name: OSV scan PR
if: github.event_name == 'pull_request' || github.event_name == 'merge_group'
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@19ec1116569a47416e11a45848722b1af31a857b # v1.9.0
with:
scan-args: |-
-r
--skip-git
./