From c830370b4d8a280d9562f1aedf3b6f02d0376e54 Mon Sep 17 00:00:00 2001 From: koungq Date: Thu, 5 Sep 2024 20:49:46 +0900 Subject: [PATCH] =?UTF-8?q?build:=20Jira=20=EC=97=B0=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/create-jira-sub-issue.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create-jira-sub-issue.yml b/.github/workflows/create-jira-sub-issue.yml index 99bd43ea..bda7298f 100644 --- a/.github/workflows/create-jira-sub-issue.yml +++ b/.github/workflows/create-jira-sub-issue.yml @@ -60,15 +60,16 @@ jobs: - name: Log created issue run: echo "Jira Issue ${{ steps.issue-parser.outputs.parentKey }}/${{ steps.create.outputs.issue }} was created" - - name: Checkout develop code + - name: Checkout parent code uses: actions/checkout@v4 with: - ref: main + ref: ${{ steps.create.outputs.issue }} - name: Create branch with Ticket number run: | - git checkout -b ${{ steps.create.outputs.issue }} - git push origin ${{ steps.create.outputs.issue }} + git checkout + git checkout -b "${{ steps.issue-parser.outputs.issueparser_parentKey }}-${{ steps.issue-parser.outputs.issueparser_summary }}" + git push origin "${{ steps.issue-parser.outputs.issueparser_parentKey }}-${{ steps.issue-parser.outputs.issueparser_summary }}" - name: Update issue title uses: actions-cool/issues-helper@v3