|
8 | 8 | issue_comment: |
9 | 9 | types: |
10 | 10 | - created |
11 | | - - edited |
12 | 11 |
|
13 | 12 | discussion_comment: |
14 | 13 | types: |
15 | 14 | - created |
16 | | - - edited |
17 | 15 |
|
18 | 16 | issues: |
19 | 17 | types: |
20 | 18 | - opened |
21 | | - - reopened |
22 | 19 |
|
23 | 20 | pull_request_target: |
24 | 21 | types: |
25 | 22 | - opened |
26 | | - - reopened |
27 | | - - ready_for_review |
28 | 23 |
|
29 | 24 | discussion: |
30 | 25 | types: |
31 | 26 | - created |
32 | | - - edited |
33 | 27 |
|
34 | 28 | jobs: |
35 | 29 | issue: |
|
75 | 69 | with: |
76 | 70 | script: | |
77 | 71 | const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js'); |
78 | | - sendEmail('${{github.event.issue.html_url}}'); |
| 72 | + sendEmail('${{github.event.issue.html_url}}', '${{github.event.issue.title}}'); |
79 | 73 |
|
80 | 74 | pull_request: |
81 | 75 | if: github.event_name == 'pull_request_target' && contains(github.event.pull_request.body, '@asyncapi/tsc_members') |
@@ -120,7 +114,7 @@ jobs: |
120 | 114 | with: |
121 | 115 | script: | |
122 | 116 | const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js'); |
123 | | - sendEmail('${{github.event.pull_request.html_url}}'); |
| 117 | + sendEmail('${{github.event.pull_request.html_url}}', '${{github.event.pull_request.title}}'); |
124 | 118 |
|
125 | 119 | discussion: |
126 | 120 | if: github.event_name == 'discussion' && contains(github.event.discussion.body, '@asyncapi/tsc_members') |
@@ -165,7 +159,7 @@ jobs: |
165 | 159 | with: |
166 | 160 | script: | |
167 | 161 | const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js'); |
168 | | - sendEmail('${{github.event.discussion.html_url}}'); |
| 162 | + sendEmail('${{github.event.discussion.html_url}}', '${{github.event.discussion.title}}'); |
169 | 163 |
|
170 | 164 | issue_comment: |
171 | 165 | if: ${{ github.event_name == 'issue_comment' && !github.event.issue.pull_request && contains(github.event.comment.body, '@asyncapi/tsc_members') }} |
@@ -210,7 +204,7 @@ jobs: |
210 | 204 | with: |
211 | 205 | script: | |
212 | 206 | const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js'); |
213 | | - sendEmail('${{github.event.comment.html_url}}'); |
| 207 | + sendEmail('${{github.event.comment.html_url}}', '${{github.event.issue.title}}'); |
214 | 208 |
|
215 | 209 | pr_comment: |
216 | 210 | if: github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, '@asyncapi/tsc_members') |
@@ -255,7 +249,7 @@ jobs: |
255 | 249 | with: |
256 | 250 | script: | |
257 | 251 | const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js'); |
258 | | - sendEmail('${{github.event.comment.html_url}}'); |
| 252 | + sendEmail('${{github.event.comment.html_url}}', '${{github.event.issue.title}}'); |
259 | 253 |
|
260 | 254 | discussion_comment: |
261 | 255 | if: github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@asyncapi/tsc_members') |
@@ -300,4 +294,4 @@ jobs: |
300 | 294 | with: |
301 | 295 | script: | |
302 | 296 | const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js'); |
303 | | - sendEmail('${{github.event.comment.html_url}}'); |
| 297 | + sendEmail('${{github.event.comment.html_url}}', '${{github.event.discussion.title}}'); |
0 commit comments