Skip to content

Commit

Permalink
Merge pull request #100 from bentonjimmy/patch-1
Browse files Browse the repository at this point in the history
updated logic to address issue 98
  • Loading branch information
ChristophShyper authored Oct 12, 2022
2 parents 723ed57 + 3b46539 commit 335748d
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 @@ -96,7 +96,7 @@ GIT_DIFF=$(git diff --compact-summary --no-color "origin/${TARGET_BRANCH}...orig
GIT_DIFF=$(echo -e "${GIT_DIFF}" | sed 's|#|^HaSz^|g' | sed ':a;N;$!ba; s/\n/^NowALiNiA^/g')

echo -e "\nSetting template..."
PR_NUMBER=$(hub pr list --head "${SOURCE_BRANCH}" --format '%I')
PR_NUMBER=$(hub pr list --base "${TARGET_BRANCH}" --head "${SOURCE_BRANCH}" --format '%I')
if [[ -z "${PR_NUMBER}" ]]; then
if [[ -n "${INPUT_TEMPLATE}" ]]; then
TEMPLATE=$(cat "${INPUT_TEMPLATE}")
Expand Down

0 comments on commit 335748d

Please sign in to comment.