Skip to content

Commit a6ff3c6

Browse files
authored
fix: Add safe directory for environment tests (#1131)
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
1 parent 04e9618 commit a6ff3c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.kokoro/environment_tests.sh

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ fi
2727
# make sure submodule is up to date
2828
cd "$PROJECT_ROOT"
2929
git config --global --add safe.directory '*'
30+
git config --global --add safe.directory /tmpfs/src/github/java-logging
3031
git submodule update --init --recursive
3132
cd "${PROJECT_ROOT}/env-tests-logging"
3233

0 commit comments

Comments
 (0)