Skip to content

Commit

Permalink
Run secscans in proper events
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <itxaka@kairos.io>
  • Loading branch information
Itxaka committed Jul 12, 2024
1 parent d6f54a6 commit 6376ba3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/osv-scanner-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/secscan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 6376ba3

Please sign in to comment.