We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 598ed1a commit 4bca3ffCopy full SHA for 4bca3ff
1 file 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 }}"}'
0 commit comments