Skip to content

Commit 1d41e5d

Browse files
committed
patch: also run workflow on merge to default
1 parent 1859f94 commit 1d41e5d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci_cd.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: CI/CD
22
on:
3-
# only on PRs into default branch
3+
# only on PRs into and merge to default branch
44
pull_request:
55
branches:
66
- master
7+
push:
8+
branches:
9+
- master
710

811
jobs:
912
ci_unit:
@@ -560,7 +563,7 @@ jobs:
560563
steps:
561564
- run: echo "If this is hit, all tests successfully passed"
562565

563-
# runs on merge to master only
566+
# runs on merge to default only
564567
cd:
565568
name: Publish Action
566569
needs: [ci_all_tests_passed]

0 commit comments

Comments
 (0)