@@ -66,10 +66,11 @@ jobs:
66
66
CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
67
67
CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
68
68
MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
69
+ TITLE : ${{github.event.issue.title}}
69
70
with :
70
71
script : |
71
72
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
72
- sendEmail('${{github.event.issue.html_url}}', '${{github.event.issue.title}} ');
73
+ sendEmail('${{github.event.issue.html_url}}', '$TITLE ');
73
74
74
75
pull_request :
75
76
if : github.event_name == 'pull_request_target' && contains(github.event.pull_request.body, '@asyncapi/tsc_members')
@@ -111,10 +112,11 @@ jobs:
111
112
CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
112
113
CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
113
114
MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
115
+ TITLE : ${{github.event.pull_request.title}}
114
116
with :
115
117
script : |
116
118
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
117
- sendEmail('${{github.event.pull_request.html_url}}', '${{github.event.pull_request.title}} ');
119
+ sendEmail('${{github.event.pull_request.html_url}}', '$TITLE ');
118
120
119
121
discussion :
120
122
if : github.event_name == 'discussion' && contains(github.event.discussion.body, '@asyncapi/tsc_members')
@@ -156,10 +158,11 @@ jobs:
156
158
CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
157
159
CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
158
160
MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
161
+ TITLE : ${{github.event.discussion.title}}
159
162
with :
160
163
script : |
161
164
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
162
- sendEmail('${{github.event.discussion.html_url}}', '${{github.event.discussion.title}} ');
165
+ sendEmail('${{github.event.discussion.html_url}}', '$TITLE ');
163
166
164
167
issue_comment :
165
168
if : ${{ github.event_name == 'issue_comment' && !github.event.issue.pull_request && contains(github.event.comment.body, '@asyncapi/tsc_members') }}
@@ -201,10 +204,11 @@ jobs:
201
204
CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
202
205
CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
203
206
MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
207
+ TITLE : ${{github.event.issue.title}}
204
208
with :
205
209
script : |
206
210
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
207
- sendEmail('${{github.event.comment.html_url}}', '${{github.event.issue.title}} ');
211
+ sendEmail('${{github.event.comment.html_url}}', '$TITLE ');
208
212
209
213
pr_comment :
210
214
if : github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, '@asyncapi/tsc_members')
@@ -246,10 +250,11 @@ jobs:
246
250
CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
247
251
CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
248
252
MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
253
+ TITLE : ${{github.event.issue.title}}
249
254
with :
250
255
script : |
251
256
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
252
- sendEmail('${{github.event.comment.html_url}}', '${{github.event.issue.title}} ');
257
+ sendEmail('${{github.event.comment.html_url}}', '$TITLE ');
253
258
254
259
discussion_comment :
255
260
if : github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@asyncapi/tsc_members')
@@ -291,7 +296,8 @@ jobs:
291
296
CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
292
297
CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
293
298
MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
299
+ TITLE : ${{github.event.discussion.title}}
294
300
with :
295
301
script : |
296
302
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
297
- sendEmail('${{github.event.comment.html_url}}', '${{github.event.discussion.title}} ');
303
+ sendEmail('${{github.event.comment.html_url}}', '$TITLE ');
0 commit comments