Skip to content

Commit e5620f9

Browse files
authored
Merge pull request #4 from kaidokert/main
Adding safe-global dir
2 parents e31978f + e2fa848 commit e5620f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

action.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [ -z "${REMOTE}" ]; then
77
exit 1
88
fi
99

10+
git config --global --add safe.directory /github/workspace
1011
git clone --bare "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" . || exit 1
1112
git remote add --mirror=fetch mirror "${REMOTE}" || exit 1
1213
git fetch mirror +refs/heads/*:refs/remotes/origin/* || exit 1

0 commit comments

Comments
 (0)