Skip to content
Snippets Groups Projects
Commit c38ae1dc authored by Vineet Reddy Rajula's avatar Vineet Reddy Rajula
Browse files

Fix git security update with safe directory config

parent 78182927
No related branches found
No related tags found
No related merge requests found
Pipeline #4458340 passed
......@@ -28,7 +28,9 @@ mv composer.admins.json composer.json
# Add git safe repositories due to Git 2.35.2 security update
echo "[safe]
directory = *" > .gitconfig
directory = /app/web/themes/custom/cern-adminimal-subtheme" > .gitconfig
git config --system --add safe.directory "/app/web"
if [ -f composer.json ] && [ -f composer.user.json ] && [ -f composer.lock ]; then
echo "---> Found 'composer.lock', updating dependencies ... "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment