Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
egil authored Apr 30, 2021
1 parent e6f09cc commit a899db4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,15 @@ jobs:
prerelease: ${{ env.NBGV_PublicRelease == 'False' }}

- name: ⏩ Merge stable with main, push to origin
id: mergeMainline
continue-on-error: true
run: |
git checkout main
git merge -S stable
git push origin main
- name: ⏭ Create pull request from stable to main when direct merge fails
if: ${{ failure() }}
if: steps.mergeMainline.outcome == 'failure'
uses: thomaseizinger/create-pull-request@1.0.0
env:
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
Expand Down

0 comments on commit a899db4

Please sign in to comment.