Skip to content

Commit 392795e

Browse files
committed
CI: Make it clearer why a branch push was omitted
1 parent f56112b commit 392795e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,10 @@ jobs:
479479
if: ${{ env.versionmajor == env.STABLE_VERSION }}
480480
run: git push -u origin ${{ env.branch }}
481481

482+
- name: Else case, master did not contain the stable version version
483+
if: ${{ env.versionmajor != env.STABLE_VERSION }}
484+
run: echo "Master branch contains a development release, no git push performed"
485+
482486
# Only runs when pushing to master branch
483487
# Bors run CI against staging branch,
484488
# if that succeeds Borst tries against master branch

0 commit comments

Comments
 (0)