atlas/.github/workflows/validate-json.yml
Hans5958 e0ed34cdda Only run CI when necessary
CI will be triggered when web/atlas.json is edited
Name change also because clarity and why not eh
2022-04-05 23:23:08 +07:00

18 lines
No EOL
463 B
YAML

name: Validate JSON
on:
push:
paths:
- web/atlas.json
pull_request:
paths:
- web/atlas.json
jobs:
Validate-JSON:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Validate JSON
run: |
chmod +x ${{ github.workspace }}/tools/validate_json.py
python3 ${{ github.workspace }}/tools/validate_json.py ${{ github.workspace }}/web/atlas.json