mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Create discord-notify.yml
This commit is contained in:
parent
ad99760a03
commit
b9013a215a
15
.github/workflows/discord-notify.yml
vendored
Normal file
15
.github/workflows/discord-notify.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: GitHub Issues to Discord
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
notify-discord:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Send Discord Notification
|
||||
run: |
|
||||
curl -H "Content-Type: application/json" \
|
||||
-X POST \
|
||||
-d "{\"content\": \"📢 **New issue reported:** ${{ github.event.issue.title }}\n🔗 ${{ github.event.issue.html_url }}\"}" \
|
||||
"${{ secrets.DISCORD_WEBHOOK }}"
|
Loading…
Reference in New Issue
Block a user