Skip to content

Commit d46bf79

Browse files
authored
ci: update of files from global .github repo (#213)
1 parent 60bab4f commit d46bf79

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/notify-tsc-members-mention.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ jobs:
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}}
69+
TITLE: ${{ github.event.issue.title }}
7070
with:
7171
script: |
7272
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
73-
sendEmail('${{github.event.issue.html_url}}', '$TITLE');
73+
sendEmail('${{github.event.issue.html_url}}', process.env.TITLE);
7474
7575
pull_request:
7676
if: github.event_name == 'pull_request_target' && contains(github.event.pull_request.body, '@asyncapi/tsc_members')
@@ -112,11 +112,11 @@ jobs:
112112
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
113113
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
114114
MAILCHIMP_API_KEY: ${{ secrets.MAILCHIMP_API_KEY }}
115-
TITLE: ${{github.event.pull_request.title}}
115+
TITLE: ${{ github.event.pull_request.title }}
116116
with:
117117
script: |
118118
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
119-
sendEmail('${{github.event.pull_request.html_url}}', '$TITLE');
119+
sendEmail('${{github.event.pull_request.html_url}}', process.env.TITLE);
120120
121121
discussion:
122122
if: github.event_name == 'discussion' && contains(github.event.discussion.body, '@asyncapi/tsc_members')
@@ -158,11 +158,11 @@ jobs:
158158
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
159159
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
160160
MAILCHIMP_API_KEY: ${{ secrets.MAILCHIMP_API_KEY }}
161-
TITLE: ${{github.event.discussion.title}}
161+
TITLE: ${{ github.event.discussion.title }}
162162
with:
163163
script: |
164164
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
165-
sendEmail('${{github.event.discussion.html_url}}', '$TITLE');
165+
sendEmail('${{github.event.discussion.html_url}}', process.env.TITLE);
166166
167167
issue_comment:
168168
if: ${{ github.event_name == 'issue_comment' && !github.event.issue.pull_request && contains(github.event.comment.body, '@asyncapi/tsc_members') }}
@@ -204,11 +204,11 @@ jobs:
204204
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
205205
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
206206
MAILCHIMP_API_KEY: ${{ secrets.MAILCHIMP_API_KEY }}
207-
TITLE: ${{github.event.issue.title}}
207+
TITLE: ${{ github.event.issue.title }}
208208
with:
209209
script: |
210210
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
211-
sendEmail('${{github.event.comment.html_url}}', '$TITLE');
211+
sendEmail('${{github.event.comment.html_url}}', process.env.TITLE);
212212
213213
pr_comment:
214214
if: github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, '@asyncapi/tsc_members')
@@ -250,11 +250,11 @@ jobs:
250250
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
251251
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
252252
MAILCHIMP_API_KEY: ${{ secrets.MAILCHIMP_API_KEY }}
253-
TITLE: ${{github.event.issue.title}}
253+
TITLE: ${{ github.event.issue.title }}
254254
with:
255255
script: |
256256
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
257-
sendEmail('${{github.event.comment.html_url}}', '$TITLE');
257+
sendEmail('${{github.event.comment.html_url}}', process.env.TITLE);
258258
259259
discussion_comment:
260260
if: github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@asyncapi/tsc_members')
@@ -296,8 +296,8 @@ jobs:
296296
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
297297
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
298298
MAILCHIMP_API_KEY: ${{ secrets.MAILCHIMP_API_KEY }}
299-
TITLE: ${{github.event.discussion.title}}
299+
TITLE: ${{ github.event.discussion.title }}
300300
with:
301301
script: |
302302
const sendEmail = require('./.github/workflows/scripts/mailchimp/index.js');
303-
sendEmail('${{github.event.comment.html_url}}', '$TITLE');
303+
sendEmail('${{github.event.comment.html_url}}', process.env.TITLE);

0 commit comments

Comments
 (0)