[gjs/gnome-42] test-ci: Ignore safe directory errors on CI



commit e23d9a9daf600d4e5e86dc7b22a3e47c67e5ff6f
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Wed Jun 8 19:19:17 2022 +0200

    test-ci: Ignore safe directory errors on CI
    
    (cherry picked from commit 4a313c5855f48a100dab025c67f90bb799440191)

 test/test-ci.sh | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/test/test-ci.sh b/test/test-ci.sh
index 2a531ad9f..4225c28bb 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -122,6 +122,9 @@ echo "Doing: $1 $extra_opts"
 
 do_Create_Artifacts_Folder "$1"
 
+# Ignore extra git security checks as we don't care in CI.
+git config --global --add safe.directory "${PWD}"
+
 if test "$1" = "SETUP"; then
     do_Show_Info
     do_Print_Labels 'Show GJS git information'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]