We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e31978f + e2fa848 commit e5620f9Copy full SHA for e5620f9
1 file changed
action.sh
@@ -7,6 +7,7 @@ if [ -z "${REMOTE}" ]; then
7
exit 1
8
fi
9
10
+git config --global --add safe.directory /github/workspace
11
git clone --bare "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" . || exit 1
12
git remote add --mirror=fetch mirror "${REMOTE}" || exit 1
13
git fetch mirror +refs/heads/*:refs/remotes/origin/* || exit 1
0 commit comments