...
This commit is contained in:
parent
a930ee8a60
commit
593f334b3f
|
@ -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