diff --git a/entrypoint.sh b/entrypoint.sh index 62b60d3..4a35f19 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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"