mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-09-28 15:35:07 +00:00
Run secscans in proper events (#183)
This commit is contained in:
4
.github/workflows/osv-scanner-pr.yaml
vendored
4
.github/workflows/osv-scanner-pr.yaml
vendored
@@ -3,7 +3,9 @@ name: OSV-Scanner PR Scan
|
|||||||
# Change "main" to your default branch if you use a different name, i.e. "master"
|
# Change "main" to your default branch if you use a different name, i.e. "master"
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
merge_group:
|
merge_group:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
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.
|
# 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.
|
# The scheduled workflow runs every at 00:00 on Sunday UTC time.
|
||||||
on:
|
on:
|
||||||
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * 0'
|
- cron: '0 0 * * 0'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user