Skip to content

Commit

Permalink
Update create-jira-issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hooni0918 authored Jun 25, 2024
1 parent e84145b commit 75746aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/create-jira-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ jobs:
run: |
ISSUE_NUMBER=${{ github.event.issue.number }}
ISSUE_TITLE="${{ github.event.issue.title }}"
# 접두사 추출 및 이슈 타이틀에서 접두사 제거
PREFIX=${ISSUE_TITLE%% :*}
CLEAN_TITLE=${ISSUE_TITLE#*: }
CLEAN_TITLE=${CLEAN_TITLE// /-} # 공백을 하이픈으로 대체
SUFFIX=${ISSUE_TITLE#*: }
CLEAN_TITLE=${SUFFIX// /} # 공백을 제거
BRANCH_NAME="${PREFIX}/#${ISSUE_NUMBER}-${CLEAN_TITLE}"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit 75746aa

Please sign in to comment.