Run secscans in proper events (#410)

This commit is contained in:
Itxaka
2024-07-12 10:21:30 +02:00
committed by GitHub
parent d6f54a6bf5
commit 7576c99faf
5 changed files with 14 additions and 24 deletions

View File

@@ -3,7 +3,9 @@ name: OSV-Scanner PR Scan
# Change "main" to your default branch if you use a different name, i.e. "master"
on:
pull_request:
branches: [main]
push:
branches:
- main
merge_group:
branches: [main]

View File

@@ -4,6 +4,9 @@ name: "Security Scan"
# The scheduled workflow runs every at 00:00 on Sunday UTC time.
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 0 * * 0'