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 61eac9f commit 79f2389Copy full SHA for 79f2389
entrypoint.sh
@@ -12,7 +12,8 @@ if [ $pull_request_id == "null" ]; then
12
exit 1
13
fi
14
15
-eval git clone "https://${INPUT_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" ${GITHUB_REPOSITORY}
+maintainer=${GITHUB_REPOSITORY%/*}
16
+eval git clone "https://${maintainer}:${INPUT_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" ${GITHUB_REPOSITORY}
17
cd $GITHUB_REPOSITORY
18
eval git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
19
eval git fetch origin pull/$pull_request_id/head:$branch_name
0 commit comments