Skip to content

Commit 76bd188

Browse files
committed
Chore: 이슈 생성 시 브랜치 타입 선택 할 수 있도록 변경
1 parent 8408a66 commit 76bd188

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/ISSUE_TEMPLATE/issue-form.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ body:
1212
validations:
1313
required: true
1414

15+
- type: dropdown
16+
id: branchType
17+
attributes:
18+
label: '📂 브랜치 타입'
19+
description: '기능 타입을 선택하세요'
20+
options:
21+
- feat
22+
- hotfix
23+
- refactor
24+
- test
25+
validations:
26+
required: true
27+
1528
- type: input
1629
id: branch
1730
attributes:

.github/workflows/create-jira-issue.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
- name: 브랜치 생성 및 푸시
5555
run: |
5656
ISSUE_NUMBER="${{ steps.create.outputs.issue }}"
57-
BRANCH_NAME="${ISSUE_NUMBER}-${{ steps.issue-parser.outputs.issueparser_branch }}"
57+
BRANCH_TYPE="${{ steps.issue-parser.outputs.issueparser_branchType }}"
58+
BRANCH_NAME_INPUT="${{ steps.issue-parser.outputs.issueparser_branch }}"
59+
BRANCH_NAME="${BRANCH_TYPE}/${ISSUE_NUMBER}-${BRANCH_NAME_INPUT}"
5860
git config user.name "github-actions[bot]"
5961
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
6062
git checkout -b "${BRANCH_NAME}"

0 commit comments

Comments
 (0)