Skip to content

Commit 17ac49e

Browse files
authored
fix: fix upstream not a directory bug (#13) (#14)
This commit applies a hotfix for a upstream bug in [checkout/issues/766](actions/checkout#766). Co-authored-by: rickstaa <rickstaa@users.noreply.github.com>
1 parent f1596c5 commit 17ac49e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/sh
22
set -eu
33

4+
# Apply hotfix for 'fatal: unsafe repository' error (see #13)
5+
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
6+
47
cd "${GITHUB_WORKSPACE}" || exit
58

69
# Set up variables.

0 commit comments

Comments
 (0)