Skip to content

Commit

Permalink
chore: update some texts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Sep 18, 2024
1 parent da36b12 commit 3399249
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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}"

Expand Down

0 comments on commit 3399249

Please sign in to comment.