Skip to content

Commit

Permalink
Trim API_TOKEN_GITHUB since it may contain new line
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Sep 17, 2021
1 parent 3fe9407 commit af7d6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ then
else
CP_OPTION=""
fi

CLONE_DIR=$(mktemp -d)

echo "Setting git variables"
export API_TOKEN_GITHUB=${API_TOKEN_GITHUB//$'\n'}
export GITHUB_TOKEN=$API_TOKEN_GITHUB
git config --global user.email "$INPUT_USER_EMAIL"
git config --global user.name "$INPUT_USER_NAME"
Expand Down

0 comments on commit af7d6cb

Please sign in to comment.