We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdffb5a commit 8f01058Copy full SHA for 8f01058
.github/workflows/release.yml
@@ -111,14 +111,14 @@ jobs:
111
git merge --no-commit --no-ff stable > /dev/null ; if [ $? -eq 0 ] ; then echo "CAN_MERGE=true" >> $GITHUB_ENV ; else echo "CAN_MERGE=false" >> $GITHUB_ENV ; fi
112
113
- name: ⏩ Merge stable with main, push main
114
- if: ${{ success() }}
+ if: ${{ env.CAN_MERGE == true }}
115
run: |
116
git merge --abort
117
git merge -S stable
118
git push origin main
119
120
- name: ⏭ Create pull request from stable to main
121
- if: ${{ failure() }}
+ if: ${{ env.CAN_MERGE == false }}
122
uses: thomaseizinger/[email protected]
123
env:
124
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments