diff --git a/.github/workflows/create-jira-issue.yml b/.github/workflows/create-jira-issue.yml index a36c6116..d62dc9a0 100644 --- a/.github/workflows/create-jira-issue.yml +++ b/.github/workflows/create-jira-issue.yml @@ -10,6 +10,11 @@ jobs: name: Create Jira issue runs-on: ubuntu-latest steps: + - name: Checkout develop code + uses: actions/checkout@v4 + with: + ref: develop + - name: Get Jira Assignee From PR Author id: jira-assignee run: | @@ -27,11 +32,6 @@ jobs: JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} - - name: Checkout main code - uses: actions/checkout@v4 - with: - ref: main - - name: Issue Parser uses: stefanbuck/github-issue-praser@v3 id: issue-parser @@ -74,11 +74,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 - - name: Update issue title uses: actions-cool/issues-helper@v3 with: