From 3399249326865651cd21e746bb0b70ab31146e9b Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Wed, 18 Sep 2024 09:52:33 +0300 Subject: [PATCH] chore: update some texts --- entrypoint.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d02ead8..9794020 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -98,7 +98,7 @@ create_pull_request() { exit 1 fi - echo "CHECK IF ISSET SAME PULL REQUEST" + echo "CHECK IF PULL REQUEST ALREADY EXIST" if [ -n "$INPUT_PULL_REQUEST_BASE_BRANCH_NAME" ]; then BASE_BRANCH="$INPUT_PULL_REQUEST_BASE_BRANCH_NAME" @@ -114,7 +114,6 @@ create_pull_request() { PULL_REQUESTS=$(echo "$(curl -sSL -H "${AUTH_HEADER}" -H "${HEADER}" -X GET "${PULLS_URL}${PULL_REQUESTS_QUERY_PARAMS}")" | jq --raw-output '.[] | .head.ref ') - # check if pull request exist if echo "$PULL_REQUESTS" | grep -xq "$BRANCH"; then echo "PULL REQUEST ALREADY EXIST" else @@ -225,7 +224,7 @@ push_to_branch() { REPO_URL="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${INPUT_GITHUB_BASE_URL}/${GITHUB_REPOSITORY}.git" - echo "CONFIGURATION GIT USER" + echo "CONFIGURING GIT USER" git config --global user.email "${INPUT_GITHUB_USER_EMAIL}" git config --global user.name "${INPUT_GITHUB_USER_NAME}"