Skip to content

Commit

Permalink
Add gha osv scanner;
Browse files Browse the repository at this point in the history
  • Loading branch information
f100024 committed Dec 23, 2024
1 parent afb3bcf commit 654afe5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/osv-scanner-scheduled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: OSV-Scanner Scheduled Scan

on:
schedule:
- cron: "30 5 * * 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: "google/osv-scanner-action/.github/workflows/[email protected]"

0 comments on commit 654afe5

Please sign in to comment.