summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaoto Ono <onoto1998@gmail.com>2024-11-21 16:06:48 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-21 16:59:14 +0900
commitc23bf42d796567331a0cfc1a9b5d50e5260f2eae (patch)
tree77dd75eda2254b091f95bbfb71a83a9a6bdeeb50
parent0780e7680309adec83bd02e2d3a941d18cb5f119 (diff)
Fix error "fatal: detected dubious ownership in repository at '/github/workspace/src'"
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12139
-rwxr-xr-x.github/actions/compilers/entrypoint.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/actions/compilers/entrypoint.sh b/.github/actions/compilers/entrypoint.sh
index a83d90be91..337e6e7c67 100755
--- a/.github/actions/compilers/entrypoint.sh
+++ b/.github/actions/compilers/entrypoint.sh
@@ -39,6 +39,8 @@ esac
pushd ${builddir}
+grouped git config --global --add safe.directory ${srcdir}
+
grouped ${srcdir}/configure \
-C \
--with-gcc="${INPUT_WITH_GCC}" \