From 29bde9efb18facbb31078e6ea59fdaba2f6e77d0 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 6 Dec 2024 09:22:30 +0100
Subject: [PATCH] sonarqube job: fix the git grep call of
 ./tools/find_sources.sh by fixing the gitlab-ci "detected dubious ownership
 in repository" problem

---
 .gitlab/sonarqube.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab/sonarqube.yml b/.gitlab/sonarqube.yml
index e9d4d1ab1..dcc43e95e 100644
--- a/.gitlab/sonarqube.yml
+++ b/.gitlab/sonarqube.yml
@@ -2,6 +2,9 @@
 .sonarqube:
   stage: analyze
   variables:
+    GIT_CONFIG_COUNT: 1
+    GIT_CONFIG_KEY_0: "safe.directory"
+    GIT_CONFIG_VALUE_0: "*"
     GIT_DEPTH: "0"
     VERSION: sonarqube
   script:
-- 
GitLab