mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-04 09:04:54 +00:00
chore: Update workflow configuration
This commit is contained in:
32
.github/workflows/dispatch.yml
vendored
Normal file
32
.github/workflows/dispatch.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Dispatch
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate
|
||||
id: json-yaml-validate
|
||||
uses: GrantBirki/json-yaml-validate@v3
|
||||
with:
|
||||
use_gitignore: false
|
||||
|
||||
dispatch:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: validate
|
||||
|
||||
steps:
|
||||
- name: Dispatch Update to Gakumas-Localify-EN
|
||||
uses: peter-evans/repository-dispatch@v3
|
||||
with:
|
||||
token: ${{ secrets.PAT }}
|
||||
repository: NatsumeLS/Gakumas-Localify-EN
|
||||
event-type: update-submodule
|
||||
Reference in New Issue
Block a user