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