patch: also run workflow on merge to default

This commit is contained in:
Nick Fields
2023-09-26 09:49:59 -04:00
parent 1859f94181
commit 1d41e5db1a

View File

@@ -1,9 +1,12 @@
name: CI/CD
on:
# only on PRs into default branch
# only on PRs into and merge to default branch
pull_request:
branches:
- master
push:
branches:
- master
jobs:
ci_unit:
@@ -560,7 +563,7 @@ jobs:
steps:
- run: echo "If this is hit, all tests successfully passed"
# runs on merge to master only
# runs on merge to default only
cd:
name: Publish Action
needs: [ci_all_tests_passed]