From 339642f4e70a9955ef25d647455fd8d579c3e61e Mon Sep 17 00:00:00 2001 From: Vitalii Smolinskyi <46049489+VBeytok@users.noreply.github.com> Date: Mon, 20 Sep 2021 19:05:07 +0300 Subject: [PATCH] Update entrypoint.sh minor fix --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a52dc3c..de5f6bc 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -140,7 +140,7 @@ push_to_branch() { git config --global user.name "${INPUT_GITHUB_USER_NAME}" if [ ${GITHUB_REF#refs/heads/} != $GITHUB_REF ]; then - git checkout "${BASE_REF}" + git checkout "${GITHUB_REF#refs/heads/}" fi if [ -n "$(git show-ref refs/heads/${LOCALIZATION_BRANCH})" ]; then