mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Delete .github/workflows/discord-pr-notify.yml
This commit is contained in:
parent
08a825f9bb
commit
a0384f35d5
1 changed files with 0 additions and 26 deletions
26
.github/workflows/discord-pr-notify.yml
vendored
26
.github/workflows/discord-pr-notify.yml
vendored
|
|
@ -1,26 +0,0 @@
|
|||
name: Discord PR Notifier
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.head_ref != 'changeset-release/main'
|
||||
steps:
|
||||
- name: Send Discord Notification
|
||||
run: |
|
||||
PAYLOAD=$(jq -n \
|
||||
--arg title "${{ github.event.pull_request.title }}" \
|
||||
--arg url "${{ github.event.pull_request.html_url }}" \
|
||||
--arg author "${{ github.event.pull_request.user.login }}" \
|
||||
'{
|
||||
content: ("🚀 **New PR:** " + $title + "\n🔗 <" + $url + ">\n👤 **Author:** " + $author),
|
||||
thread_name: ($title + " by " + $author)
|
||||
}')
|
||||
|
||||
curl -X POST "${{ secrets.DISCORD_WEBHOOK }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "$PAYLOAD"
|
||||
Loading…
Add table
Reference in a new issue