We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f40f6f + 85e8172 commit 9832811Copy full SHA for 9832811
.github/workflows/meeting-reminder.yml
@@ -0,0 +1,25 @@
1
+name: TSC Meeting Discord Reminder
2
+
3
+on:
4
+ issues:
5
+ types: [opened]
6
7
+jobs:
8
+ send-discord-reminder:
9
+ runs-on: ubuntu-latest
10
+ if: github.event.issue.user.login == 'github-actions[bot]' && startsWith(github.event.issue.title, 'TSC Meeting')
11
12
+ env:
13
+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
14
+ ISSUE_TITLE: ${{ github.event.issue.title }}
15
+ ISSUE_URL: ${{ github.event.issue.html_url }}
16
17
+ steps:
18
+ - name: Send message to Discord
19
+ run: |
20
+ curl -sS -X POST -H "Content-Type: application/json" -d '{
21
+ "embeds": [{
22
+ "title": "'"$ISSUE_TITLE"'",
23
+ "url": "'"$ISSUE_URL"'
24
+ }]
25
+ }' "$DISCORD_WEBHOOK"
0 commit comments