Add GitHub community standards, templates, and workflows

This commit is contained in:
AltStack Bot
2026-02-25 23:10:07 +05:30
parent 2a0ac1b107
commit 149c780b83
10 changed files with 254 additions and 0 deletions

28
.github/workflows/validate-data.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Validate JSON Data
on:
push:
paths:
- 'data/**/*.json'
pull_request:
paths:
- 'data/**/*.json'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Check JSON Validity
run: |
for file in $(find data -name "*.json"); do
echo "Validating $file..."
jq empty "$file" || exit 1
done
echo "All JSON files are valid."