Skip to content

Update osv-scanner-scheduled.yml #2

Update osv-scanner-scheduled.yml

Update osv-scanner-scheduled.yml #2

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:
# 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: "./.github/workflows/osv-scanner-pr.yml"

Check failure on line 20 in .github/workflows/osv-scanner-scheduled.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/osv-scanner-scheduled.yml

Invalid workflow file

error parsing called workflow ".github/workflows/osv-scanner-scheduled.yml" -> "./.github/workflows/osv-scanner-pr.yml" (source branch with sha:6fd509b3d47cf5c9c28dc93bd9ea4ad65079bb43) : workflow is not reusable as it is missing a `on.workflow_call` trigger