Add new dbt var fields #8
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 metadata/data_apps_metadata.json against schema | |
on: | |
pull_request: | |
paths: | |
- 'src/components/JsonSchemaValidator/**' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pull-requests: write # enable write permissions for pull request comments | |
jobs: | |
verify-json-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: json-yaml-validate | |
id: json-yaml-validate | |
uses: GrantBirki/[email protected] | |
with: | |
comment: "true" # enable comment mode | |
json_schema: ./src/components/JsonSchemaValidator/dbt-variables-meta-schema # validate JSON files against the schema | |
base_dir: ./src/components/JsonSchemaValidator/Schemas/ | |
json_schema_version: "draft-07" | |
ajv_strict_mode: false |