OSV-Scanner Scheduled Scan #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OSV-Scanner Scheduled Scan | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 12 * * 1" | |
push: | |
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 | |
# Only need to read contents | |
contents: read | |
jobs: | |
scan-scheduled: | |
uses: "google/osv-scanner-action/.github/workflows/[email protected]" | |
with: | |
scan-args: |- | |
--recursive | |
--config=./.github/config-osv-scanner.toml |