32
32
runs-on : ubuntu-latest
33
33
steps :
34
34
- name : Checkout repository
35
- uses : actions/checkout@v3
35
+ uses : actions/checkout@v4
36
36
- name : Setup Node.js
37
- uses : actions/setup-node@v3
37
+ uses : actions/setup-node@v4
38
38
with :
39
39
node-version : 16
40
40
cache : ' npm'
48
48
with :
49
49
markdown : " [${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}}"
50
50
- name : Send info about issue
51
- uses : rtCamp/action-slack-notify@v2
51
+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
52
52
env :
53
53
SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
54
54
SLACK_TITLE : 🆘 New issue that requires TSC Members attention 🆘
@@ -61,25 +61,26 @@ jobs:
61
61
run : npm install
62
62
working-directory : ./.github/workflows/scripts/mailchimp
63
63
- name : Send email with MailChimp
64
- uses : actions/github-script@v6
64
+ uses : actions/github-script@v7
65
65
env :
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')
76
77
name : TSC notification on every new pull request
77
78
runs-on : ubuntu-latest
78
79
steps :
79
80
- name : Checkout repository
80
- uses : actions/checkout@v3
81
+ uses : actions/checkout@v4
81
82
- name : Setup Node.js
82
- uses : actions/setup-node@v3
83
+ uses : actions/setup-node@v4
83
84
with :
84
85
node-version : 16
85
86
cache : ' npm'
93
94
with :
94
95
markdown : " [${{github.event.pull_request.title}}](${{github.event.pull_request.html_url}}) \n ${{github.event.pull_request.body}}"
95
96
- name : Send info about pull request
96
- uses : rtCamp/action-slack-notify@v2
97
+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
97
98
env :
98
99
SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
99
100
SLACK_TITLE : 🆘 New PR that requires TSC Members attention 🆘
@@ -106,25 +107,26 @@ jobs:
106
107
run : npm install
107
108
working-directory : ./.github/workflows/scripts/mailchimp
108
109
- name : Send email with MailChimp
109
- uses : actions/github-script@v6
110
+ uses : actions/github-script@v7
110
111
env :
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')
121
123
name : TSC notification on every new discussion
122
124
runs-on : ubuntu-latest
123
125
steps :
124
126
- name : Checkout repository
125
- uses : actions/checkout@v3
127
+ uses : actions/checkout@v4
126
128
- name : Setup Node.js
127
- uses : actions/setup-node@v3
129
+ uses : actions/setup-node@v4
128
130
with :
129
131
node-version : 16
130
132
cache : ' npm'
@@ -138,7 +140,7 @@ jobs:
138
140
with :
139
141
markdown : " [${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) \n ${{github.event.discussion.body}}"
140
142
- name : Send info about pull request
141
- uses : rtCamp/action-slack-notify@v2
143
+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
142
144
env :
143
145
SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
144
146
SLACK_TITLE : 🆘 New discussion that requires TSC Members attention 🆘
@@ -151,25 +153,26 @@ jobs:
151
153
run : npm install
152
154
working-directory : ./.github/workflows/scripts/mailchimp
153
155
- name : Send email with MailChimp
154
- uses : actions/github-script@v6
156
+ uses : actions/github-script@v7
155
157
env :
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') }}
166
169
name : TSC notification on every new comment in issue
167
170
runs-on : ubuntu-latest
168
171
steps :
169
172
- name : Checkout repository
170
- uses : actions/checkout@v3
173
+ uses : actions/checkout@v4
171
174
- name : Setup Node.js
172
- uses : actions/setup-node@v3
175
+ uses : actions/setup-node@v4
173
176
with :
174
177
node-version : 16
175
178
cache : ' npm'
@@ -183,7 +186,7 @@ jobs:
183
186
with :
184
187
markdown : " [${{github.event.issue.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
185
188
- name : Send info about issue comment
186
- uses : rtCamp/action-slack-notify@v2
189
+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
187
190
env :
188
191
SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
189
192
SLACK_TITLE : 🆘 New comment under existing issue that requires TSC Members attention 🆘
@@ -196,25 +199,26 @@ jobs:
196
199
run : npm install
197
200
working-directory : ./.github/workflows/scripts/mailchimp
198
201
- name : Send email with MailChimp
199
- uses : actions/github-script@v6
202
+ uses : actions/github-script@v7
200
203
env :
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')
211
215
name : TSC notification on every new comment in pr
212
216
runs-on : ubuntu-latest
213
217
steps :
214
218
- name : Checkout repository
215
- uses : actions/checkout@v3
219
+ uses : actions/checkout@v4
216
220
- name : Setup Node.js
217
- uses : actions/setup-node@v3
221
+ uses : actions/setup-node@v4
218
222
with :
219
223
node-version : 16
220
224
cache : ' npm'
@@ -228,7 +232,7 @@ jobs:
228
232
with :
229
233
markdown : " [${{github.event.issue.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
230
234
- name : Send info about PR comment
231
- uses : rtCamp/action-slack-notify@v2
235
+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
232
236
env :
233
237
SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
234
238
SLACK_TITLE : 🆘 New comment under existing PR that requires TSC Members attention 🆘
@@ -241,25 +245,26 @@ jobs:
241
245
run : npm install
242
246
working-directory : ./.github/workflows/scripts/mailchimp
243
247
- name : Send email with MailChimp
244
- uses : actions/github-script@v6
248
+ uses : actions/github-script@v7
245
249
env :
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')
256
261
name : TSC notification on every new comment in discussion
257
262
runs-on : ubuntu-latest
258
263
steps :
259
264
- name : Checkout repository
260
- uses : actions/checkout@v3
265
+ uses : actions/checkout@v4
261
266
- name : Setup Node.js
262
- uses : actions/setup-node@v3
267
+ uses : actions/setup-node@v4
263
268
with :
264
269
node-version : 16
265
270
cache : ' npm'
@@ -273,7 +278,7 @@ jobs:
273
278
with :
274
279
markdown : " [${{github.event.discussion.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
275
280
- name : Send info about discussion comment
276
- uses : rtCamp/action-slack-notify@v2
281
+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
277
282
env :
278
283
SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
279
284
SLACK_TITLE : 🆘 New comment under existing discussion that requires TSC Members attention 🆘
@@ -286,12 +291,13 @@ jobs:
286
291
run : npm install
287
292
working-directory : ./.github/workflows/scripts/mailchimp
288
293
- name : Send email with MailChimp
289
- uses : actions/github-script@v6
294
+ uses : actions/github-script@v7
290
295
env :
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