Skip to content

Commit 17ddae0

Browse files
committed
Remove issue number input and validation from create_pr.sh to streamline the PR creation process.
1 parent 794530c commit 17ddae0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

create_pr.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,6 @@ get_body() {
5656
fi
5757
}
5858

59-
# Issue 번호 입력 및 검증
60-
get_issue_numbers() {
61-
read -p "연결할 Issue 번호를 입력하세요 (예: 123, 없으면 ENTER): " ISSUE_INPUT
62-
63-
if [ -n "$ISSUE_INPUT" ]; then
64-
# 숫자만 허용
65-
if [[ "$ISSUE_INPUT" =~ ^[0-9]+$ ]]; then
66-
BODY="${BODY}\n\nCloses #${ISSUE_INPUT}"
67-
else
68-
echo "경고: 잘못된 형식입니다. Issue 번호는 숫자만 허용됩니다."
69-
fi
70-
fi
71-
}
72-
7359
# Dry-run 미리보기
7460
dry_run() {
7561
echo "=== PR 생성 미리보기 ==="
@@ -90,7 +76,6 @@ main() {
9076

9177
get_title
9278
get_body
93-
get_issue_numbers
9479

9580
# Dry-run 확인
9681
read -p "PR을 생성하기 전에 미리보기를 보시겠습니까? (Y/n): " show_preview

0 commit comments

Comments
 (0)