From 153a5b7b8c1b66d290353de3270411c4d7d119b7 Mon Sep 17 00:00:00 2001 From: joowojr Date: Wed, 12 Feb 2025 09:25:58 +0900 Subject: [PATCH] =?UTF-8?q?CLAP-387=20Chore:=20=EC=A7=80=EB=9D=BC=20?= =?UTF-8?q?=EC=9D=B4=EC=8A=88=20=EC=83=9D=EC=84=B1=20=EC=9B=8C=ED=81=AC?= =?UTF-8?q?=ED=94=8C=EB=A1=9C=EC=9A=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/create-jira-bug-issue.yml | 19 ++----------------- .../workflows/create-jira-feature-issue.yml | 19 ++----------------- 2 files changed, 4 insertions(+), 34 deletions(-) diff --git a/.github/workflows/create-jira-bug-issue.yml b/.github/workflows/create-jira-bug-issue.yml index 2d944577..43bdf433 100644 --- a/.github/workflows/create-jira-bug-issue.yml +++ b/.github/workflows/create-jira-bug-issue.yml @@ -29,10 +29,10 @@ jobs: JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} - - name: Checkout release code + - name: Checkout develop code uses: actions/checkout@v4 with: - ref: release + ref: develop - name: Issue Parser uses: stefanbuck/github-issue-praser@v3 @@ -74,21 +74,6 @@ jobs: - name: Log created issue run: echo "Jira Issue ${{ steps.issue-parser.outputs.parentKey }}/${{ steps.create.outputs.issue }} was created" - - name: Checkout release code - uses: actions/checkout@v4 - with: - ref: release - token: ${{ secrets.PAT_TOKEN }} - - - name: Create branch with Ticket number - run: | - git config user.name github-actions - git config user.email github-actions@github.com - git checkout -b ${{ steps.create.outputs.issue }} - git push origin ${{ steps.create.outputs.issue }} - env: - GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} - - name: Update issue title uses: actions-cool/issues-helper@v3 with: diff --git a/.github/workflows/create-jira-feature-issue.yml b/.github/workflows/create-jira-feature-issue.yml index 06368577..3d0905de 100644 --- a/.github/workflows/create-jira-feature-issue.yml +++ b/.github/workflows/create-jira-feature-issue.yml @@ -30,10 +30,10 @@ jobs: JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} - - name: Checkout main code + - name: Checkout develop code uses: actions/checkout@v4 with: - ref: main + ref: develop - name: Issue Parser uses: stefanbuck/github-issue-praser@v3 @@ -75,21 +75,6 @@ jobs: - name: Log created issue run: echo "Jira Issue ${{ steps.issue-parser.outputs.parentKey }}/${{ steps.create.outputs.issue }} was created" - - name: Checkout develop code - uses: actions/checkout@v4 - with: - ref: develop - token: ${{ secrets.PAT_TOKEN }} - - - name: Create branch with Ticket number - run: | - git config user.name github-actions - git config user.email github-actions@github.com - git checkout -b ${{ steps.create.outputs.issue }} - git push origin ${{ steps.create.outputs.issue }} - env: - GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} - - name: Update issue title uses: actions-cool/issues-helper@v3 with: