diff --git a/entrypoint.sh b/entrypoint.sh index 4cb8418..5188ad4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,6 +6,8 @@ echo "$3" echo "$4" echo "$5" +git config --global --add safe.directory /github/workspace + if [ ${GITHUB_BASE_REF} ]; then # Pull Request git fetch origin ${GITHUB_BASE_REF} --depth=1