From ed4cd8772ac8a3a08d6119a8d2bde67642765d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 17 May 2022 15:26:22 +0200 Subject: [PATCH] ci: declare git repository a safe directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since version 2.35.2, due to CVE-2022-24765, git refuses to operate by default on a repository owned by a different user. Signed-off-by: Christian Göttsche Acked-by: Petr Lautrbach --- scripts/ci/fedora-test-runner.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ci/fedora-test-runner.sh b/scripts/ci/fedora-test-runner.sh index 3ce2c3a6..7676f6ea 100755 --- a/scripts/ci/fedora-test-runner.sh +++ b/scripts/ci/fedora-test-runner.sh @@ -70,6 +70,7 @@ dnf install -y \ cd "$SELINUX_DIR" # Show HEAD commit for sanity checking +git config --global --add safe.directory "$SELINUX_DIR" git log --oneline -1 #