update git push to remote action

Signed-off-by: GuillaumeFalourd <guillaume.falourd@zup.com.br>
This commit is contained in:
GuillaumeFalourd 2022-01-06 23:41:45 -03:00
parent 865a51b580
commit 92277f3abb

View file

@ -91,7 +91,7 @@ runs:
git branch push-and-commit-action-${{ github.run_id }}-${{ github.job }}
git fetch "${{ inputs.remote_repository }}" "$CURRENT_BRANCH"
git checkout "$CURRENT_BRANCH"
git merge push-and-commit-action-${{ github.run_id }}-${{ github.job }}
git merge -X ours push-and-commit-action-${{ github.run_id }}-${{ github.job }}
git branch -d push-and-commit-action-${{ github.run_id }}-${{ github.job }}
git push "${{ inputs.remote_repository }}" "$CURRENT_BRANCH:$TARGET_BRANCH" --follow-tags $FORCE $TAGS