add team json github workflow checker (#1656)

This commit is contained in:
Leo 2025-10-09 14:52:20 +01:00 committed by GitHub
parent d83333580d
commit 0088e3a557
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,23 @@
name: Validate Team JSON
on:
push:
paths:
- 'public/team.json'
pull_request:
paths:
- 'public/team.json'
jobs:
validate:
name: Validate team.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Validate JSON format
run: |
if ! jq empty public/team.json 2>/dev/null; then
echo "Error: team.json is not valid JSON"
exit 1
fi
echo "✓ team.json is valid JSON"