mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
Merge pull request #727 from RooVetGit/mrubens-patch-1
Create a webhook for Discord
This commit is contained in:
commit
9bbac80515
1 changed files with 21 additions and 0 deletions
21
.github/workflows/discord-pr-notify.yml
vendored
Normal file
21
.github/workflows/discord-pr-notify.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Discord PR Notifier
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Send Discord Notification
|
||||
uses: Ilshidur/action-discord@master
|
||||
with:
|
||||
args: |
|
||||
🚀 **New Pull Request Opened!**
|
||||
📝 **Title:** ${{ github.event.pull_request.title }}
|
||||
🔗 <${{ github.event.pull_request.html_url }}>
|
||||
👤 **Author:** ${{ github.event.pull_request.user.login }}
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
Loading…
Add table
Reference in a new issue