mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2025-12-06 20:57:15 -07:00
Add possible workaround for https://github.com/cpina/github-action-push-to-another-repository/issues/103
This commit is contained in:
@@ -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"
|
||||
} || {
|
||||
|
||||
Reference in New Issue
Block a user