*fix: Remove the user (#169)

*doc: Adjust the documentation
*fix: Add empty line at the end of the file
This commit is contained in:
Pascal Zimmermann
2023-05-21 14:10:24 +02:00
committed by GitHub
parent c361e2bb07
commit df39337088
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}//oauth2:${INPUT_GITHUB_TOKEN}@${INPUT_GITHUB_URL}/${REPOSITORY}.git"
fi
git config --local --add safe.directory ${INPUT_DIRECTORY}