Run secscans in proper events (#183)

This commit is contained in:
Itxaka
2024-07-12 09:29:42 +02:00
committed by GitHub
parent 60ab4b6bce
commit 9fdc42fb96
2 changed files with 6 additions and 1 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

@@ -3,7 +3,10 @@ name: "Security Scan"
# Run workflow each time code is pushed to your repository and on a schedule.
# The scheduled workflow runs every at 00:00 on Sunday UTC time.
on:
pull_request:
push:
branches:
- main
schedule:
- cron: '0 0 * * 0'