Carles Pina i Estany 2022-04-13 08:46:46 +02:00
parent 483689a71c
commit e8fa5fd158

View File

@ -28,6 +28,14 @@ fi
CLONE_DIR=$(mktemp -d)
echo "[+] Git version"
git --version
echo "[+] Add everything is safe"
# Related to https://github.com/cpina/github-action-push-to-another-repository/issues/64 and https://github.com/cpina/github-action-push-to-another-repository/issues/64
# TODO: review before releasing it as a version
git config --add safe.directory /
echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME"
# Setup git
git config --global user.email "$USER_EMAIL"