Skip to content

Commit

Permalink
Merge branch 'main' into jm96441n/fix-tcp-service-ent-meta-flatenning
Browse files Browse the repository at this point in the history
  • Loading branch information
jm96441n authored Mar 27, 2023
2 parents dc61e7b + c085b1e commit 021d8b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jira-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

# Education Jira
- name: Create ticket in Education board an issue is filed, or if PR not by a team member is opened
if: github.event.action == 'opened' && ("${{ contains(github.event.issue.labels.*.name, 'type/docs') }}" == "true")
if: github.event.action == 'opened' && contains(github.event.issue.labels.*.name, 'type/docs')
uses: tomhjp/gh-action-jira-create@v0.2.1
with:
project: CE
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jira-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ jobs:

# Education Jira
- name: Create ticket in Education board an issue is filed, or if PR not by a team member is opened
if: github.event.action == 'opened' && steps.is-team-member.outputs.MESSAGE == 'false' && ("${{ contains(github.event.issue.labels.*.name, 'type/docs') }}" == "true")
if: github.event.action == 'opened' && steps.is-team-member.outputs.MESSAGE == 'false' && contains(github.event.issue.labels.*.name, 'type/docs')
uses: tomhjp/gh-action-jira-create@v0.2.1
with:
project: CE
issuetype: "${{ steps.set-ticket-type.outputs.TYPE }}"
summary: "${{ github.event.repository.name }} [${{ steps.set-ticket-type.outputs.TYPE }} #${{ github.event.issue.number }}]: ${{ github.event.issue.title }}"
summary: "${{ github.event.repository.name }} [${{ steps.set-ticket-type.outputs.TYPE }} #${{ github.event.pull_request.number }}]: ${{ github.event.pull_request.title }}"
description: "GitHub URL: ${{ github.event.issue.html_url || github.event.pull_request.html_url }}\n\n${{ github.event.issue.body || github.event.pull_request.body }}\n\n_Created in GitHub by ${{ github.actor }}._"
# customfield_10089 is "Issue Link", customfield_10371 is "Source" (use JIRA API to retrieve)
extraFields: '{ "components": [{ "name": "${{ github.event.repository.name }}" }] }'
Expand Down

0 comments on commit 021d8b2

Please sign in to comment.