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.
1 parent 6f05afa commit 020647dCopy full SHA for 020647d
entrypoint.sh
@@ -4,7 +4,8 @@ set -eu
4
script_dir="$(dirname "$0")"
5
cd $script_dir
6
7
-eval git clone "https://${INPUT_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" ${GITHUB_REPOSITORY}
+maintainer=${GITHUB_REPOSITORY%/*}
8
+eval git clone "https://${maintainer}:${INPUT_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" ${GITHUB_REPOSITORY}
9
cd $GITHUB_REPOSITORY
10
eval git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
11
eval git fetch --all
0 commit comments