We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bea6cfe + 11f45e3 commit cd0d4a4Copy full SHA for cd0d4a4
2 files changed
.github/workflows/discord.yml
@@ -0,0 +1,21 @@
1
+name: Discord PR Notification
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened]
6
7
8
+ push:
9
10
11
12
+jobs:
13
+ notify:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Send message to Discord
18
+ run: |
19
+ curl -X POST ${{ secrets.DISCORD_WEBHOOK }} \
20
+ -H "Content-Type: application/json" \
21
+ -d '{"content": "New PR created: ${{ github.event.pull_request.html_url }}"}'
src/.file
@@ -0,0 +1 @@
+dfgdfgasdasd
0 commit comments