Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/ISSUE_TEMPLATE/issue_form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,19 @@ body:
attributes:
label: '🎟️ 상위 작업 (Ticket Number)'
description: '상위 작업의 Ticket Number를 기입해주세요'
placeholder: 'PRJ-00'
placeholder: 'THIP2025-00'
validations:
required: true

- type: dropdown
id: branchType
attributes:
label: '브랜치 타입'
options:
- feature
- bugfix
- hotfix
- refactor
validations:
required: true

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/create-jira-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: stefanbuck/github-issue-praser@v3
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/issue-form.yml
template-path: .github/ISSUE_TEMPLATE/issue_form.yml

- name: Log Issue Parser
run: |
Expand All @@ -47,7 +47,7 @@ jobs:
id: create
uses: atlassian/gajira-create@v3
with:
project: SKP
project: THIP2025
issuetype: Task
summary: '${{ github.event.issue.title }}'
description: '${{ steps.md2jira.outputs.output-text }}'
Expand All @@ -69,8 +69,9 @@ jobs:
- name: Create branch with Ticket number
run: |
ISSUE_NUMBER="${{ steps.create.outputs.issue }}"
ISSUE_TITLE="${{ steps.issue-parser.outputs.issueparser_branch}}"
BRANCH_NAME="${ISSUE_NUMBER}-$(echo ${ISSUE_TITLE} | sed 's/ /-/g')"
BRANCH_TYPE="${{ steps.issue-parser.outputs.issueparser_branchType }}"
ISSUE_TITLE="${{ steps.issue-parser.outputs.issueparser_branch }}"
BRANCH_NAME="${BRANCH_TYPE}/${ISSUE_NUMBER}-$(echo ${ISSUE_TITLE} | sed 's/ /-/g')"
git checkout -b "${BRANCH_NAME}"
git push origin "${BRANCH_NAME}"

Expand Down