Skip to content

Commit

Permalink
fix: Add safe directory for environment tests (#1131)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
losalex authored Oct 12, 2022
1 parent 04e9618 commit a6ff3c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .kokoro/environment_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit a6ff3c6

Please sign in to comment.