There was an error while loading. Please reload this page.
1 parent cfef411 commit a2115b4Copy full SHA for a2115b4
1 file changed
.github/workflows/discord-notify.yml
@@ -0,0 +1,13 @@
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
+ steps:
11
+ - name: Send Discord notification
12
+ run: |
13
+ curl -H "Content-Type: application/json" -d "{\"content\": \"🔔 New Pull Request opened: **${{ github.event.pull_request.title }}** by ${{ github.event.pull_request.user.login }}\n${{ github.event.pull_request.html_url }}\"}" ${{ secrets.DISCORD_WEBHOOK }}
0 commit comments