diff --git a/entrypoint.sh b/entrypoint.sh index 7f6ccb1..c9d1a03 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,6 +3,7 @@ set -e if [ -n "${GITHUB_WORKSPACE}" ]; then cd "${GITHUB_WORKSPACE}" || exit + git config --global --add safe.directory "${GITHUB_WORKSPACE}" || exit 1 fi export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"