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 b6d9e9f commit ae3867eCopy full SHA for ae3867e
.github/workflows/pr-to-discord.yml
@@ -0,0 +1,18 @@
1
+name: Notify Discord on Pull Request
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 message
12
+ run: |
13
+ curl -H "Content-Type: application/json" \
14
+ -X POST \
15
+ -d '{
16
+ "content": "🔔 New Pull Request by **${{ github.actor }}**: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
17
+ }' \
18
+ ${{ secrets.DISCORD_WEBHOOK_URL }}
test.js
@@ -1 +1,2 @@
-'promt for create pull request :)'
+'promt for create pull request :)'
+'promt for create pull request :) x2'
0 commit comments