Skip to content

Adjust YAML formatting #2

Adjust YAML formatting

Adjust YAML formatting #2

Workflow file for this run

name: JSON Schema Validation
on: [pull_request]
jobs:
validate-json-schema:
name: Validate JSON schema
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Check for any changed json schema files
id: check-for-changed-schemas
uses: tj-actions/changed-files@v41
with:
files: |
json-schema/**.json
- name: Validate JSON Schema
if: steps.check-for-changed-schemas.outputs.any_changed == 'true'
uses: dsanders11/json-schema-validate-action
with:
schema: https://json-schema.org/draft/2020-12/schema
files: json-schema/**.json