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: