diff --git a/action.yml b/action.yml index 13bebf7..50816ea 100644 --- a/action.yml +++ b/action.yml @@ -96,7 +96,7 @@ runs: git merge git-commit-push-action-${{ github.run_id }}-${{ github.job }} git branch -d git-commit-push-action-${{ github.run_id }}-${{ github.job }} - git push "${{ inputs.remote_repository }}" "$CURRENT_BRANCH:$TARGET_BRANCH" --follow-tags $FORCE $TAGS + git push "${{ inputs.remote_repository }}" "HEAD:$TARGET_BRANCH" --follow-tags $FORCE $TAGS else echo "WARNING: No changes were detected. git commit push action aborted." fi