diff --git a/.github/workflows/osv-scanner-pr.yaml b/.github/workflows/osv-scanner-pr.yaml index c7a76e7a..727c2146 100644 --- a/.github/workflows/osv-scanner-pr.yaml +++ b/.github/workflows/osv-scanner-pr.yaml @@ -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] diff --git a/.github/workflows/secscan.yaml b/.github/workflows/secscan.yaml index 5f5c3f97..8ee50da9 100644 --- a/.github/workflows/secscan.yaml +++ b/.github/workflows/secscan.yaml @@ -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'