File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,25 @@ name: Issue automation
22
33on :
44 issues :
5- types : [opened]
5+ types : [opened, closed ]
66
77jobs :
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
You can’t perform that action at this time.
0 commit comments