mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-08 11:02:31 +00:00
chore: Add Discord notification for validation status
This commit is contained in:
9
.github/workflows/dispatch.yml
vendored
9
.github/workflows/dispatch.yml
vendored
@@ -26,6 +26,15 @@ jobs:
|
|||||||
id: resource-validate
|
id: resource-validate
|
||||||
run: python ./scripts/resource_validator.py ./local-files/resource
|
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:
|
dispatch:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user