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