From 59a649a6518d59ec027bbc5dafb31f7e66c2fb82 Mon Sep 17 00:00:00 2001 From: losalex <90795544+losalex@users.noreply.github.com> Date: Wed, 12 Oct 2022 11:15:10 -0700 Subject: [PATCH] fix: Add safe directory for environment tests Recently some of PR environment tests started to fail with: `fatal: detected dubious ownership in repository at '/tmpfs/src/github/java-logging'` Adding the safe directory for Java --- .kokoro/environment_tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.kokoro/environment_tests.sh b/.kokoro/environment_tests.sh index 121adc07b..579c57731 100755 --- a/.kokoro/environment_tests.sh +++ b/.kokoro/environment_tests.sh @@ -27,6 +27,7 @@ fi # make sure submodule is up to date cd "$PROJECT_ROOT" git config --global --add safe.directory '*' +git config --global --add safe.directory /tmpfs/src/github/java-logging git submodule update --init --recursive cd "${PROJECT_ROOT}/env-tests-logging"