lyubick/YAML/JSON validation against JSON Schema
Validates YAML or JSON file(s) against provided JSON Schema file
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 6, 2024
- License
- MIT
Pinned Snippet
uses: lyubick/action-yaml-schema-validator@bab9fd890ab3226a8035b2647e785693afb7d44e # v4tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| json-schema-file | JSON Schema file or HTTPS URL to file to validate against. In case, mapping is provided, schema provided here will be used as a default schema. | yes | — |
| yaml-json-file-dir | Comma separated list of YAML or JSON files and/or directories that require validation. | yes | — |
| recursive | True/False, provide True if recursive scan for YAML or JSON files in directory required. | no | false |
| ignore-empty | True/False, provide False if error should be raised on empty files, otherwise empty files will be ignored. | no | true |
| schema-mapping | Files or directories with schema mapping, mapped using `->`. Multiple mappings can be defined separating each mapping by comma. | no | "" |
Outputs
no outputs