[epiphany/wip/exalm/test] ci: Fix setting safe.directory




commit 4e0c72190015b8f9e24fce99260e987850c6c3c6
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Oct 12 23:59:01 2022 +0400

    ci: Fix setting safe.directory
    
    It has to be --global and it doesn't accept relative paths.
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1201>

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e7a88fddc..f3f3330bb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -99,7 +99,7 @@ flatpak master gtk3:
 flatpak master:
   extends: '.flatpak'
   before_script:
-    - git config --add safe.directory .
+    - git config --global --add safe.directory $PWD
     - git checkout wip/exalm/gtk4
   variables:
     CONFIG_OPTS: '-Dtech_preview=true -Dprofile=Devel -Dunit_tests=enabled -Dgsb_api_key=${GSB_API_KEY}'


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