feat(starr): Add DiRFiX in repack/proper CF #250
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Custom Format JSONs | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- .github/workflows/custom-format-validation.yml | |
- docs/json/guide-only/*.json | |
- docs/json/radarr/cf/*.json | |
- docs/json/sonarr/cf/*.json | |
- schemas/**/*.json | |
pull_request: | |
paths: | |
- .github/workflows/custom-format-validation.yml | |
- docs/json/guide-only/*.json | |
- docs/json/radarr/cf/*.json | |
- docs/json/sonarr/cf/*.json | |
- schemas/**/*.json | |
jobs: | |
validate-json: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: "3.x" | |
- name: Install check-jsonschema | |
run: pip install check-jsonschema | |
- name: Validate Guide only Custom Formats | |
run: check-jsonschema -v --schemafile schemas/guide-only-cf.schema.json docs/json/guide-only/*.json | |
- name: Validate Radarr Custom Formats | |
run: check-jsonschema -v --schemafile schemas/radarr-cf.schema.json docs/json/radarr/cf/*.json | |
- name: Validate Sonarr Custom Formats | |
run: check-jsonschema -v --schemafile schemas/sonarr-cf.schema.json docs/json/sonarr/cf/*.json |