3232 runs-on : ubuntu-latest
3333 steps :
3434 - name : Checkout repository
35- uses : actions/checkout@v3
35+ uses : actions/checkout@v4
3636 - name : Setup Node.js
37- uses : actions/setup-node@v3
37+ uses : actions/setup-node@v4
3838 with :
3939 node-version : 16
4040 cache : ' npm'
4848 with :
4949 markdown : " [${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}}"
5050 - name : Send info about issue
51- uses : rtCamp/action-slack-notify@v2
51+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
5252 env :
5353 SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
5454 SLACK_TITLE : 🆘 New issue that requires TSC Members attention 🆘
@@ -61,25 +61,26 @@ jobs:
6161 run : npm install
6262 working-directory : ./.github/workflows/scripts/mailchimp
6363 - name : Send email with MailChimp
64- uses : actions/github-script@v6
64+ uses : actions/github-script@v7
6565 env :
6666 CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
6767 CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
6868 MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
69+ TITLE : ${{github.event.issue.title}}
6970 with :
7071 script : |
7172 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 ');
7374
7475 pull_request :
7576 if : github.event_name == 'pull_request_target' && contains(github.event.pull_request.body, '@asyncapi/tsc_members')
7677 name : TSC notification on every new pull request
7778 runs-on : ubuntu-latest
7879 steps :
7980 - name : Checkout repository
80- uses : actions/checkout@v3
81+ uses : actions/checkout@v4
8182 - name : Setup Node.js
82- uses : actions/setup-node@v3
83+ uses : actions/setup-node@v4
8384 with :
8485 node-version : 16
8586 cache : ' npm'
9394 with :
9495 markdown : " [${{github.event.pull_request.title}}](${{github.event.pull_request.html_url}}) \n ${{github.event.pull_request.body}}"
9596 - name : Send info about pull request
96- uses : rtCamp/action-slack-notify@v2
97+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
9798 env :
9899 SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
99100 SLACK_TITLE : 🆘 New PR that requires TSC Members attention 🆘
@@ -106,25 +107,26 @@ jobs:
106107 run : npm install
107108 working-directory : ./.github/workflows/scripts/mailchimp
108109 - name : Send email with MailChimp
109- uses : actions/github-script@v6
110+ uses : actions/github-script@v7
110111 env :
111112 CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
112113 CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
113114 MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
115+ TITLE : ${{github.event.pull_request.title}}
114116 with :
115117 script : |
116118 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 ');
118120
119121 discussion :
120122 if : github.event_name == 'discussion' && contains(github.event.discussion.body, '@asyncapi/tsc_members')
121123 name : TSC notification on every new discussion
122124 runs-on : ubuntu-latest
123125 steps :
124126 - name : Checkout repository
125- uses : actions/checkout@v3
127+ uses : actions/checkout@v4
126128 - name : Setup Node.js
127- uses : actions/setup-node@v3
129+ uses : actions/setup-node@v4
128130 with :
129131 node-version : 16
130132 cache : ' npm'
@@ -138,7 +140,7 @@ jobs:
138140 with :
139141 markdown : " [${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) \n ${{github.event.discussion.body}}"
140142 - name : Send info about pull request
141- uses : rtCamp/action-slack-notify@v2
143+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
142144 env :
143145 SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
144146 SLACK_TITLE : 🆘 New discussion that requires TSC Members attention 🆘
@@ -151,25 +153,26 @@ jobs:
151153 run : npm install
152154 working-directory : ./.github/workflows/scripts/mailchimp
153155 - name : Send email with MailChimp
154- uses : actions/github-script@v6
156+ uses : actions/github-script@v7
155157 env :
156158 CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
157159 CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
158160 MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
161+ TITLE : ${{github.event.discussion.title}}
159162 with :
160163 script : |
161164 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 ');
163166
164167 issue_comment :
165168 if : ${{ github.event_name == 'issue_comment' && !github.event.issue.pull_request && contains(github.event.comment.body, '@asyncapi/tsc_members') }}
166169 name : TSC notification on every new comment in issue
167170 runs-on : ubuntu-latest
168171 steps :
169172 - name : Checkout repository
170- uses : actions/checkout@v3
173+ uses : actions/checkout@v4
171174 - name : Setup Node.js
172- uses : actions/setup-node@v3
175+ uses : actions/setup-node@v4
173176 with :
174177 node-version : 16
175178 cache : ' npm'
@@ -183,7 +186,7 @@ jobs:
183186 with :
184187 markdown : " [${{github.event.issue.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
185188 - name : Send info about issue comment
186- uses : rtCamp/action-slack-notify@v2
189+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
187190 env :
188191 SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
189192 SLACK_TITLE : 🆘 New comment under existing issue that requires TSC Members attention 🆘
@@ -196,25 +199,26 @@ jobs:
196199 run : npm install
197200 working-directory : ./.github/workflows/scripts/mailchimp
198201 - name : Send email with MailChimp
199- uses : actions/github-script@v6
202+ uses : actions/github-script@v7
200203 env :
201204 CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
202205 CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
203206 MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
207+ TITLE : ${{github.event.issue.title}}
204208 with :
205209 script : |
206210 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 ');
208212
209213 pr_comment :
210214 if : github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, '@asyncapi/tsc_members')
211215 name : TSC notification on every new comment in pr
212216 runs-on : ubuntu-latest
213217 steps :
214218 - name : Checkout repository
215- uses : actions/checkout@v3
219+ uses : actions/checkout@v4
216220 - name : Setup Node.js
217- uses : actions/setup-node@v3
221+ uses : actions/setup-node@v4
218222 with :
219223 node-version : 16
220224 cache : ' npm'
@@ -228,7 +232,7 @@ jobs:
228232 with :
229233 markdown : " [${{github.event.issue.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
230234 - name : Send info about PR comment
231- uses : rtCamp/action-slack-notify@v2
235+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
232236 env :
233237 SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
234238 SLACK_TITLE : 🆘 New comment under existing PR that requires TSC Members attention 🆘
@@ -241,25 +245,26 @@ jobs:
241245 run : npm install
242246 working-directory : ./.github/workflows/scripts/mailchimp
243247 - name : Send email with MailChimp
244- uses : actions/github-script@v6
248+ uses : actions/github-script@v7
245249 env :
246250 CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
247251 CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
248252 MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
253+ TITLE : ${{github.event.issue.title}}
249254 with :
250255 script : |
251256 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 ');
253258
254259 discussion_comment :
255260 if : github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@asyncapi/tsc_members')
256261 name : TSC notification on every new comment in discussion
257262 runs-on : ubuntu-latest
258263 steps :
259264 - name : Checkout repository
260- uses : actions/checkout@v3
265+ uses : actions/checkout@v4
261266 - name : Setup Node.js
262- uses : actions/setup-node@v3
267+ uses : actions/setup-node@v4
263268 with :
264269 node-version : 16
265270 cache : ' npm'
@@ -273,7 +278,7 @@ jobs:
273278 with :
274279 markdown : " [${{github.event.discussion.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
275280 - name : Send info about discussion comment
276- uses : rtCamp/action-slack-notify@v2
281+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
277282 env :
278283 SLACK_WEBHOOK : ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
279284 SLACK_TITLE : 🆘 New comment under existing discussion that requires TSC Members attention 🆘
@@ -286,12 +291,13 @@ jobs:
286291 run : npm install
287292 working-directory : ./.github/workflows/scripts/mailchimp
288293 - name : Send email with MailChimp
289- uses : actions/github-script@v6
294+ uses : actions/github-script@v7
290295 env :
291296 CALENDAR_ID : ${{ secrets.CALENDAR_ID }}
292297 CALENDAR_SERVICE_ACCOUNT : ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
293298 MAILCHIMP_API_KEY : ${{ secrets.MAILCHIMP_API_KEY }}
299+ TITLE : ${{github.event.discussion.title}}
294300 with :
295301 script : |
296302 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