This commit is contained in:
gilesb 2023-10-23 16:03:44 +01:00 committed by giles
parent 96d97f59aa
commit 3c2b2390ef
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ jobs:
echo 'pushed new branch and created pr'; echo 'pushed new branch and created pr';
else else
if [[ $(git diff origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -ne 0 ]]; then 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 }}; git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
else else
echo 'no changes so no push' echo 'no changes so no push'