...
This commit is contained in:
parent
96d97f59aa
commit
3c2b2390ef
|
@ -59,7 +59,7 @@ jobs:
|
|||
echo 'pushed new branch and created pr';
|
||||
else
|
||||
if [[ $(git diff origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -ne 0 ]]; then
|
||||
git rebase origin/${{ env.DEVELOPMENT_BRANCH }} --strategy-option theirs
|
||||
git rebase origin/${{ env.DEVELOPMENT_BRANCH }} --strategy-option ours
|
||||
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
|
||||
else
|
||||
echo 'no changes so no push'
|
||||
|
|
Loading…
Reference in New Issue