Update tenants.schema.json #55
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
# ------------------------------------------------------------------------------ | |
# Validate the tenants.json file against the tenants.schema.json schema | |
# ------------------------------------------------------------------------------ | |
name: validate tenants config | |
on: | |
push: | |
paths: | |
- 'tenants.json' | |
- 'schemas/tenants.schema.json' | |
pull_request: | |
branches: | |
- 'main' | |
- 'staging' | |
- 'staging-update' | |
- 'dev' | |
paths: | |
- 'tenants.json' | |
- 'schemas/tenants.schema.json' | |
jobs: | |
validate-tenants-config: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Validate JSON | |
uses: docker://orrosenblatt/validate-json-action:latest | |
env: | |
INPUT_SCHEMA: schemas/tenants.schema.json | |
INPUT_JSONS: tenants.json |