Use pull_request triggers primarily for workflows

Instead of relying on push triggers in general, we now use pull_request
and reserve push triggers for main and release branches.

This makes the behaviour more consistent for users contributing from
repository forks. However, we no longer have a quick-feedback loop
for development.
This commit is contained in:
daz
2024-04-10 16:21:22 -06:00
parent 3e155e3d92
commit d37a479015
6 changed files with 24 additions and 24 deletions

View File

@@ -2,6 +2,10 @@ name: CI-check-and-unit-test
on:
push:
branches:
- 'main'
- 'release/**'
pull_request:
permissions:
contents: read