Skip to content

Commit

Permalink
Update jira-issue-transfer.yml
Browse files Browse the repository at this point in the history
Recommended changes
  • Loading branch information
slokie-so authored May 29, 2024
1 parent b363006 commit b55bf2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/jira-issue-transfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
jobs:
build:
runs-on: self-hosted
if: github.event.label.name == 'ticketed'
steps:
- name: Login
uses: atlassian/gajira-login@v3
Expand All @@ -32,7 +33,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Jira Create Bug
id: bug
if: github.event.label.name == 'ticketed' && contains(github.event.issue.labels.*.name, 'bug')
if: contains(github.event.issue.labels.*.name, 'bug')
uses: atlassian/gajira-create@v3
with:
project: BP
Expand All @@ -43,7 +44,7 @@ jobs:

- name: Jira Create Enhancement
id: enhancement
if: github.event.label.name == 'ticketed' && contains(github.event.issue.labels.*.name, 'enhancement')
if: contains(github.event.issue.labels.*.name, 'enhancement')
uses: atlassian/gajira-create@v3
with:
project: BP
Expand Down

0 comments on commit b55bf2e

Please sign in to comment.