diff --git a/.github/workflows/discord.yaml b/.github/workflows/discord.yaml new file mode 100644 index 00000000..6e68bc4a --- /dev/null +++ b/.github/workflows/discord.yaml @@ -0,0 +1,16 @@ +name: Discord Notification + +on: [push, pull_request, workflow_dispatch, release, create, delete, issue_comment, fork, watch, pull_request_review, pull_request_review_comment, repository_dispatch] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Notify Discord + uses: sarisia/actions-status-discord@v1 + if: always() + with: + webhook: ${{ secrets.DISCORD_WEBHOOK }} + status: ${{ job.status }} + title: "Triggered by ${{ github.event_name }}" + color: 0x5865F2 \ No newline at end of file