Skip to content

Commit

Permalink
Merge pull request #727 from RooVetGit/mrubens-patch-1
Browse files Browse the repository at this point in the history
Create a webhook for Discord
  • Loading branch information
mrubens authored Feb 2, 2025
2 parents 4040e93 + 5811143 commit 9bbac80
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/discord-pr-notify.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 9bbac80

Please sign in to comment.