-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (28 loc) · 821 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "Valjean JSON Schema Validator"
description: "Validate JSON using remote schemas"
branding:
label: "Valjean JSON Schema Validator"
icon: "book"
color: "red"
inputs:
schema-url:
description: "the url to the JSON schema"
required: true
target-dir:
description: "the directory (or directories, comma separated) containing the json files to validate"
required: true
all-errors:
description: "enable allErrors on AJV validator"
required: false
default: "false"
ajv-strict:
description: "enable AJV's strict mode, which does not adhere to the JSON Schema spec"
required: false
default: "false"
draft-version:
description: The draft version to use; supports 2019 or 2020
required: false
default: "2020"
runs:
using: "node20"
main: "dist/index.js"