diff --git a/images/linux/scripts/installers/git.sh b/images/linux/scripts/installers/git.sh index be496eb63..e3e821c83 100644 --- a/images/linux/scripts/installers/git.sh +++ b/images/linux/scripts/installers/git.sh @@ -15,6 +15,11 @@ add-apt-repository $GIT_REPO -y apt-get update apt-get install git -y git --version +# Git version 2.35.2 introduces security fix that breaks action\checkout https://github.com/actions/checkout/issues/760 +cat <> /etc/gitconfig +[safe] + directory = * +EOF # Install git-lfs curl -s $GIT_LFS_REPO/script.deb.sh | bash