mirror of
https://github.com/kairos-io/immucore.git
synced 2025-04-27 19:05:40 +00:00
run workflows in proper places (#350)
This commit is contained in:
parent
ab397bed1f
commit
e769986882
6
.github/workflows/osv-scanner-pr.yaml
vendored
6
.github/workflows/osv-scanner-pr.yaml
vendored
@ -3,9 +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]
|
||||
merge_group:
|
||||
branches: [main]
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
# Require writing security events to upload SARIF file to security tab
|
||||
|
3
.github/workflows/secscan.yaml
vendored
3
.github/workflows/secscan.yaml
vendored
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user