Skip to content

Commit

Permalink
updated logic to address issue 98
Browse files Browse the repository at this point in the history
addressed issue raised here: #98
  • Loading branch information
bentonjimmy authored Oct 11, 2022
1 parent 723ed57 commit 3b46539
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 3b46539

Please sign in to comment.