We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09851dd commit 129604fCopy full SHA for 129604f
1 file changed
.github/workflows/release.yml
@@ -109,7 +109,8 @@ jobs:
109
continue-on-error: true
110
run: |
111
git checkout main
112
- git merge --no-commit --no-ff stable ; if [ $? -eq 0 ] ; then echo "CAN_MERGE=true" >> $GITHUB_ENV ; else echo "CAN_MERGE=false" >> $GITHUB_ENV ; fi
+ git merge --no-commit --no-ff stable
113
+ echo "CAN_MERGE=true" >> $GITHUB_ENV
114
115
- name: ⏩ Merge stable with main, push main
116
if: ${{ env.CAN_MERGE == true }}
@@ -119,7 +120,7 @@ jobs:
119
120
git push origin main
121
122
- name: ⏭ Create pull request from stable to main
- if: ${{ env.CAN_MERGE == false }}
123
+ if: ${{ env.CAN_MERGE != true }}
124
uses: thomaseizinger/create-pull-request@1.0.0
125
env:
126
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments