Skip to content

Commit

Permalink
fix: fix upstream not a directory bug (#13)
Browse files Browse the repository at this point in the history
This commit applies a hotfix for a upstream bug in
[checkout/issues/766](actions/checkout#766).
  • Loading branch information
rickstaa committed Nov 7, 2023
1 parent f1596c5 commit dde020a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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.
Expand Down

0 comments on commit dde020a

Please sign in to comment.