Skip to content

Commit 07c4d7b

Browse files
committed
Add workaround for #103
1 parent b2e2c48 commit 07c4d7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

entrypoint.sh

+4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,14 @@ echo "[+] Enable git lfs"
6565
git lfs install
6666

6767
echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME"
68+
6869
# Setup git
6970
git config --global user.email "$USER_EMAIL"
7071
git config --global user.name "$USER_NAME"
7172

73+
# workaround for https://github.com/cpina/github-action-push-to-another-repository/issues/103
74+
git config --global http.version HTTP/1.1
75+
7276
{
7377
git clone --single-branch --depth 1 --branch "$TARGET_BRANCH" "$GIT_CMD_REPOSITORY" "$CLONE_DIR"
7478
} || {

0 commit comments

Comments
 (0)