CI: Make it clearer why a branch push was omitted

This commit is contained in:
Henrik Tjäder 2023-05-31 21:22:03 +02:00
parent f56112b688
commit 392795ebe0

View file

@ -479,6 +479,10 @@ jobs:
if: ${{ env.versionmajor == env.STABLE_VERSION }}
run: git push -u origin ${{ env.branch }}
- name: Else case, master did not contain the stable version version
if: ${{ env.versionmajor != env.STABLE_VERSION }}
run: echo "Master branch contains a development release, no git push performed"
# Only runs when pushing to master branch
# Bors run CI against staging branch,
# if that succeeds Borst tries against master branch