We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents deb3490 + 4c2c439 commit f80bc11Copy full SHA for f80bc11
entrypoint.sh
@@ -21,13 +21,13 @@ urlencode() (
21
DEFAULT_POLL_TIMEOUT=10
22
POLL_TIMEOUT=${POLL_TIMEOUT:-$DEFAULT_POLL_TIMEOUT}
23
24
+sh -c "git config --global --add safe.directory /github/workspace"
25
git checkout "${GITHUB_REF:11}"
26
27
branch="$(git symbolic-ref --short HEAD)"
28
branch_uri="$(urlencode ${branch})"
29
30
sh -c "git config --global credential.username $GITLAB_USERNAME"
-sh -c "git config --global --add safe.directory /github/workspace"
31
sh -c "git config --global core.askPass /cred-helper.sh"
32
sh -c "git config --global credential.helper cache"
33
sh -c "git remote add mirror $*"
0 commit comments