mirror of
https://github.com/nick-fields/retry.git
synced 2026-02-10 07:05:29 +00:00
patch: also run workflow on merge to default
This commit is contained in:
7
.github/workflows/ci_cd.yml
vendored
7
.github/workflows/ci_cd.yml
vendored
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user