Skip to content

Commit

Permalink
try to fix the 142 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Oct 13, 2023
1 parent f749b05 commit 7ebe921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,12 @@ create_pull_request() {
push_to_branch() {
BRANCH=${INPUT_LOCALIZATION_BRANCH_NAME}

REPO_URL="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${INPUT_GITHUB_BASE_URL}/${GITHUB_REPOSITORY}.git"

echo "CONFIGURATION GIT USER"
git config --global user.email "${INPUT_GITHUB_USER_EMAIL}"
git config --global user.name "${INPUT_GITHUB_USER_NAME}"

REPO_URL="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${INPUT_GITHUB_BASE_URL}/${GITHUB_REPOSITORY}.git"

if [ "$INPUT_SKIP_REF_CHECKOUT" != true ] && [ ${GITHUB_REF#refs/heads/} != $GITHUB_REF ]; then
git checkout "${GITHUB_REF#refs/heads/}"
fi
Expand Down

0 comments on commit 7ebe921

Please sign in to comment.