Skip to content

Commit bb88b71

Browse files
close issue automation
1 parent 46492d6 commit bb88b71

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/issue_automation.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,25 @@ name: Issue automation
22

33
on:
44
issues:
5-
types: [opened]
5+
types: [opened, closed]
66

77
jobs:
88
notify_jira:
9+
if: github.event.action == 'opened'
910
name: Notify Jira
1011
uses: Checkmarx/plugins-release-workflow/.github/workflows/jira_notify.yml@main
1112
with:
1213
title: ${{ github.event.issue.title }}
1314
body: ${{ github.event.issue.body }}
1415
html_url: ${{ github.event.issue.html_url }}
1516
repo: ${{ github.event.repository.full_name }}
16-
secrets: inherit
17+
secrets: inherit
18+
19+
close_jira:
20+
if: github.event.action == 'closed'
21+
name: Close Jira
22+
uses: Checkmarx/plugins-release-workflow/.github/workflows/jira_close.yml@main
23+
with:
24+
issue_number: ${{ github.event.issue.number }}
25+
repo: ${{ github.event.repository.full_name }}
26+
secrets: inherit

0 commit comments

Comments
 (0)