-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
39 lines (39 loc) · 1.18 KB
/
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
32
33
34
35
36
37
38
39
name: 'Validate JSON Schemas'
description: 'Find json files and validate them agains $schema'
branding:
icon: 'check-circle'
color: 'blue'
inputs:
files:
description: 'Files to validate'
required: true
schema:
description: 'Schema location'
required: false
schema-version:
description: 'Choose schema version'
default: draft-04
required: false
print-valid-files:
description: 'Print valid file names to console'
default: false
required: false
fail-on-missing-schema:
description: 'Fail on missing schema'
default: false
required: false
allow-matching-properties:
description: 'Pass true to allow overlap between "properties" and "patternProperties"'
default: false
required: false
allow-union-types:
description: 'With strictTypes option "type" keywords with multiple types (other than with "null") are prohibited.'
default: true
required: false
strict:
description: 'Pass false to disable strict validation'
default: true
required: false
runs:
using: 'node16'
main: 'dist/index.js'