fix: Remove the user (#156)

* fix: Remove the user
* doc: Adjust the documentation
* fix: Add empty line at the end of the file
This commit is contained in:
Pascal Zimmermann
2023-05-18 07:12:20 +02:00
committed by GitHub
parent 0fafdd62b8
commit 75ba9fb1cf
2 changed files with 26 additions and 1 deletions

View File

@ -43,7 +43,7 @@ cd ${INPUT_DIRECTORY}
if ${INPUT_SSH}; then
remote_repo="git@${INPUT_GITHUB_URL}:${REPOSITORY}.git"
else
remote_repo="${INPUT_GITHUB_URL_PROTOCOL}//${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@${INPUT_GITHUB_URL}/${REPOSITORY}.git"
remote_repo="${INPUT_GITHUB_URL_PROTOCOL}//${INPUT_GITHUB_TOKEN}:x-oauth-basic@${INPUT_GITHUB_URL}/${REPOSITORY}.git"
fi
git config --local --add safe.directory ${INPUT_DIRECTORY}