Skip to content

OSV-Scanner Scheduled Scan #4

OSV-Scanner Scheduled Scan

OSV-Scanner Scheduled Scan #4

name: OSV-Scanner Scheduled Scan
on:
schedule:
- cron: "30 12 * * 1"
# Change "main" to your default branch if you use a different name, i.e. "master"
push:
branches: [main]
permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
# Only need to read contents
contents: read
actions: read
jobs:
scan-scheduled:
uses: "google/osv-scanner-action/.github/workflows/[email protected]"
with:
upload-sarif: false
scan-args: |-
--lockfile=./composer.lock
--lockfile=./package.json