mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Post PRs to a thread instead
This commit is contained in:
parent
cddd92b0ad
commit
bf799d72db
1 changed files with 7 additions and 8 deletions
15
.github/workflows/discord-pr-notify.yml
vendored
15
.github/workflows/discord-pr-notify.yml
vendored
|
|
@ -11,11 +11,10 @@ jobs:
|
|||
if: github.head_ref != 'changeset-release/main'
|
||||
steps:
|
||||
- name: Send Discord Notification
|
||||
uses: Ilshidur/action-discord@master
|
||||
with:
|
||||
args: |
|
||||
🚀 **New PR:** ${{ github.event.pull_request.title }}
|
||||
🔗 <${{ github.event.pull_request.html_url }}>
|
||||
👤 **Author:** ${{ github.event.pull_request.user.login }}
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
run: |
|
||||
curl -X POST ${{ secrets.DISCORD_WEBHOOK }} \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"content": "🚀 **New PR:** ${{ github.event.pull_request.title }}\n🔗 <${{ github.event.pull_request.html_url }}>\n👤 **Author:** ${{ github.event.pull_request.user.login }}",
|
||||
"thread_name": "${{ github.event.pull_request.title }} by ${{ github.event.pull_request.user.login }}"
|
||||
}'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue