mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-04 09:04:54 +00:00
chore: Add Discord notification for validation status
This commit is contained in:
8
.github/workflows/dispatch.yml
vendored
8
.github/workflows/dispatch.yml
vendored
@@ -26,6 +26,14 @@ 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: failure()
|
||||
with:
|
||||
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
status: ${{ job.status }}
|
||||
title: "Validate"
|
||||
|
||||
dispatch:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user