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 committed Jun 24, 2024
1 parent 66165e1 commit 0c7af9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-jira-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
- name: Create branch for the issue
run: |
export LANG=en_US.UTF-8
ISSUE_NUMBER=${{ github.event.issue.number }}
ISSUE_TITLE=${{ github.event.issue.title }}
SAFE_ISSUE_TITLE=$(echo $ISSUE_TITLE | tr -cd '[:alnum:]_-' | tr '[:upper:]' '[:lower:]')
BRANCH_NAME="feat/issue-${ISSUE_NUMBER}-${SAFE_ISSUE_TITLE}-${JIRA_ISSUE_KEY}"
BRANCH_NAME="feat/issue-${ISSUE_NUMBER}-${ISSUE_TITLE}-${JIRA_ISSUE_KEY}"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b "$BRANCH_NAME"
Expand Down

0 comments on commit 0c7af9d

Please sign in to comment.