chore: Add validation workflow

This commit is contained in:
2024-06-18 22:29:04 +07:00
parent 0370ea8f70
commit 3c1655c481

22
.github/workflows/validate.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Validate
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
pull-requests: write
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate
id: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v3
with:
comment: true