From b65496164fef8bf9f8753aae85c8a94892d57634 Mon Sep 17 00:00:00 2001 From: Carles Pina i Estany Date: Fri, 19 May 2023 16:11:06 +0200 Subject: [PATCH] Add possible workaround for https://github.com/cpina/github-action-push-to-another-repository/issues/103 --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 80d003e..22964bf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -68,6 +68,8 @@ echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME" git config --global user.email "$USER_EMAIL" git config --global user.name "$USER_NAME" +git config --global http.version HTTP/1.1 + { git clone --single-branch --depth 1 --branch "$TARGET_BRANCH" "$GIT_CMD_REPOSITORY" "$CLONE_DIR" } || {