diff --git a/.all-contributorsrc b/.all-contributorsrc index 5f7200c..82af232 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -128,6 +128,15 @@ "contributions": [ "code" ] + }, + { + "login": "TheKoenig", + "name": "TheKoenig", + "avatar_url": "https://avatars.githubusercontent.com/u/74304748?v=4", + "profile": "https://github.com/TheKoenig", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index e52fd55..8e12410 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # GitHub Pull Request -[![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-14-orange.svg?style=flat-square)](#contributors-) A GitHub Action for creating pull requests. @@ -123,6 +123,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Atsushi Watanabe

🐛 💻
Christopher Keele

💻
Rachael Sewell

💻 +
TheKoenig

💻 diff --git a/entrypoint.sh b/entrypoint.sh index ce2dd73..e29be31 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,7 +20,7 @@ fi DESTINATION_BRANCH="${INPUT_DESTINATION_BRANCH:-"master"}" # Github actions no longer auto set the username and GITHUB_TOKEN -git remote set-url origin "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY" +git remote set-url origin "https://$GITHUB_ACTOR:$GITHUB_TOKEN@${GITHUB_SERVER_URL#https://}/$GITHUB_REPOSITORY" # Pull all branches references down locally so subsequent commands can see them git fetch origin '+refs/heads/*:refs/heads/*' --update-head-ok