Skip to content

Commit

Permalink
patch: also run workflow on merge to default
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-fields committed Sep 26, 2023
1 parent 1859f94 commit 1d41e5d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 1d41e5d

Please sign in to comment.