File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ jobs:
1111 if : github.head_ref != 'changeset-release/main'
1212 steps :
1313 - name : Send Discord Notification
14- uses : Ilshidur/action-discord@master
15- with :
16- args : |
17- 🚀 **New PR:** ${{ github.event.pull_request.title }}
18- 🔗 <${{ github.event.pull_request.html_url }}>
19- 👤 **Author:** ${{ github.event.pull_request.user.login }}
20- env :
21- DISCORD_WEBHOOK : ${{ secrets.DISCORD_WEBHOOK }}
14+ run : |
15+ curl -X POST ${{ secrets.DISCORD_WEBHOOK }} \
16+ -H "Content-Type: application/json" \
17+ -d '{
18+ "content": "🚀 **New PR:** ${{ github.event.pull_request.title }}\n🔗 <${{ github.event.pull_request.html_url }}>\n👤 **Author:** ${{ github.event.pull_request.user.login }}",
19+ "thread_name": "${{ github.event.pull_request.title }} by ${{ github.event.pull_request.user.login }}"
20+ }'
You can’t perform that action at this time.
0 commit comments