mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Revert "Merge pull request #740 from RooVetGit/discord_fix"
This reverts commite16e132470, reversing changes made to0e7e5c50be.
This commit is contained in:
parent
e16e132470
commit
7e237df2e8
1 changed files with 2 additions and 6 deletions
8
.github/workflows/discord-pr-notify.yml
vendored
8
.github/workflows/discord-pr-notify.yml
vendored
|
|
@ -11,14 +11,10 @@ jobs:
|
|||
if: github.head_ref != 'changeset-release/main'
|
||||
steps:
|
||||
- name: Send Discord Notification
|
||||
env:
|
||||
PR_TITLE: ${{ github.event.pull_request.title }}
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
PR_USER: ${{ github.event.pull_request.user.login }}
|
||||
run: |
|
||||
curl -X POST ${{ secrets.DISCORD_WEBHOOK }} \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"content": "🚀 **New PR:** $PR_TITLE\n🔗 <$PR_URL>\n👤 **Author:** $PR_USER",
|
||||
"thread_name": "$PR_TITLE by $PR_USER"
|
||||
"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