File tree 1 file changed +20
-10
lines changed
1 file changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -15,32 +15,42 @@ repos:
15
15
hooks :
16
16
- id : jsonschema_dir_validate
17
17
name : Check 2.0.x
18
- language : python
19
- always_run : true
18
+ types :
19
+ - json
20
+ files : ^json-schemas/2.0.x/.*\.json$
21
+ require_serial : true
20
22
pass_filenames : false
21
23
args : [ "json-schemas/2.0.x" ]
22
24
- id : json_validation
23
25
name : Validate 2.0.x prototype data
24
- language : python
25
- always_run : true
26
+ types :
27
+ - json
28
+ files : ^prototype-data/2.0.x/.*\.json$
29
+ require_serial : true
26
30
pass_filenames : false
27
31
args : [ "-c", "json-schemas/2.0.x", "prototype-data/2.0.x" ]
28
32
- id : jsonschema_dir_validate
29
33
name : Check 1.0.x
30
- language : python
31
- always_run : true
34
+ types :
35
+ - json
36
+ files : ^json-schemas/1.0.x/.*\.json$
37
+ require_serial : true
32
38
pass_filenames : false
33
39
args : [ "json-schemas/1.0.x" ]
34
40
- id : json_validation
35
41
name : Validate 1.0.x prototype data
36
- language : python
37
- always_run : true
42
+ types :
43
+ - json
44
+ files : ^prototype-data/1.0.x/.*\.json$
45
+ require_serial : true
38
46
pass_filenames : false
39
47
args : [ "-c", "json-schemas/1.0.x", "prototype-data/1.0.x" ]
40
48
- id : jsonschema_dir_validate
41
49
name : Check 0.4.x
42
- language : python
43
- always_run : true
50
+ types :
51
+ - json
52
+ files : ^json-schemas/0.4.x/.*\.json$
53
+ require_serial : true
44
54
pass_filenames : false
45
55
args : [ "json-schemas/0.4.x" ]
46
56
- repo : https://github.com/jmfernandez/pre-commit_mirrors-actionlint.git
You can’t perform that action at this time.
0 commit comments