From 04c64a1551d6ae4a1b31651a048ae2140f5f285e Mon Sep 17 00:00:00 2001 From: Natsu Date: Wed, 19 Jun 2024 04:04:47 +0700 Subject: [PATCH] chore: Add Discord notification for validation status --- .github/workflows/dispatch.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 8f2db2d0..f7b4fbc9 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -26,6 +26,15 @@ jobs: id: resource-validate run: python ./scripts/resource_validator.py ./local-files/resource + - name: Send Notification to Discord + uses: sarisia/actions-status-discord@v1 + if: always() + with: + webhook: ${{ secrets.DISCORD_WEBHOOK }} + status: ${{ job.status }} + title: "Validate" + url: "https://github.com/NatsumeLS/Gakumas-Translation-Data-EN/actions/runs/${{ job.container.id }}" + dispatch: runs-on: ubuntu-latest