We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c57bef commit 6f8ce62Copy full SHA for 6f8ce62
1 file changed
.github/workflows/discord.yml
@@ -0,0 +1,19 @@
1
+name: Discord 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 Discord notification
13
+ run: |
14
+ curl -H "Content-Type: application/json" \
15
+ -X POST \
16
+ -d '{
17
+ "content":"New PR created: '${{ github.event.pull_request.html_url }}'"
18
+ }' \
19
+ ${{ secrets.DISCORD_WEBHOOK }}
0 commit comments