Skip to content

Commit

Permalink
ci: fix merge master into develop failure (#16815)
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jun 4, 2021
1 parent 5c9fb0b commit 30d0b33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/merge-master-into-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
id: check-conflict
run: echo "::set-output name=merge_conflict::$(git merge-tree $(git merge-base HEAD master) master HEAD | egrep '<<<<<<<')"
- name: Merge master into develop
id: merge-master
run: git merge master
if: ${{ !steps.check-conflict.outputs.merge_conflict }}
- name: Failed merge, set merged status as failed
run: echo "::set-output name=merge_conflict::'failed merge'"
if: ${{ steps.merge-master.outcome != 'success' }}
- name: Push
run: git push
if: ${{ !steps.check-conflict.outputs.merge_conflict }}
Expand Down

0 comments on commit 30d0b33

Please sign in to comment.