1
0
mirror of https://github.com/kairos-io/immucore.git synced 2025-05-06 23:28:09 +00:00

run workflows in proper places ()

This commit is contained in:
Itxaka 2024-07-12 09:22:18 +02:00 committed by GitHub
parent ab397bed1f
commit e769986882
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -3,9 +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:
merge_group: branches:
branches: [main] - main
permissions: permissions:
# Require writing security events to upload SARIF file to security tab # Require writing security events to upload SARIF file to security tab

View File

@ -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'