Release Attribution version 0.4.0 #70
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.json # validate JSON files against the schema | |
base_dir: ./src/components/JsonSchemaValidator/Schemas/ | |
json_schema_version: "draft-07" | |
ajv_strict_mode: false | |
exclude_file: src/components/JsonSchemaValidator/Schemas/exclude_from_checks.txt |