[gjs: 1/3] test-ci: Ignore safe directory errors on CI
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/3] test-ci: Ignore safe directory errors on CI
- Date: Mon, 13 Jun 2022 04:34:08 +0000 (UTC)
commit 4a313c5855f48a100dab025c67f90bb799440191
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
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]