[gtk/clang-format-improvement] Try to fix the git usage in ci
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/clang-format-improvement] Try to fix the git usage in ci
- Date: Fri, 9 Sep 2022 22:59:35 +0000 (UTC)
commit 34365812a816fc0c6128ef396694b03457c0225a
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Sep 9 18:59:10 2022 -0400
Try to fix the git usage in ci
Thanks, git.
.gitlab-ci/run-style-check-diff.sh | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci/run-style-check-diff.sh b/.gitlab-ci/run-style-check-diff.sh
index a69fd77308..8acc973856 100755
--- a/.gitlab-ci/run-style-check-diff.sh
+++ b/.gitlab-ci/run-style-check-diff.sh
@@ -2,6 +2,8 @@
set -e
+git config --global --add safe.directory "$PWD"
+
# We need to add a new remote for the upstream main, since this script could
# be running in a personal fork of the repository which has out of date branches.
if [ "${CI_PROJECT_NAMESPACE}" != "GNOME" ]; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]