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