diff --git a/entrypoint.sh b/entrypoint.sh index f33f777..17e1756 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,9 @@ #!/bin/sh set -eu +# Apply hotfix for 'fatal: unsafe repository' error (see #13) +git config --global --add safe.directory "${GITHUB_WORKSPACE}" + cd "${GITHUB_WORKSPACE}" || exit # Set up variables.