diff --git a/.github/workflows/discord-notify.yml b/.github/workflows/discord-notify.yml new file mode 100644 index 00000000..06a6f8d7 --- /dev/null +++ b/.github/workflows/discord-notify.yml @@ -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 }}"