File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,18 @@ repos:
88
88
language : python
89
89
types :
90
90
- text
91
+ - id : check-jsonschema
92
+ name : check-jsonschema
93
+ entry : make check-jsonschema
94
+ language : python
95
+ files : (?x)^(
96
+ \.github/workflows/[^/]+|
97
+ \.gitlab-ci\.yml|
98
+ \.gitlab/workflows/[^/]+|
99
+ \.readthedocs\.yaml|
100
+ \.renovaterc\.json
101
+ )$
102
+ pass_filenames : false
91
103
- id : forbidden-files
92
104
name : forbidden files
93
105
entry : found Copier update rejection files; review them and remove them
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ codespell:
91
91
# Check jsonschema with check-jsonschema.
92
92
check-jsonschema :
93
93
check-jsonschema --builtin-schema vendor.github-workflows .github/workflows/* .yml
94
- check-jsonschema --builtin-schema vendor.gitlab-ci .gitlab-ci.yml .gitlab/workflows/* .yml
94
+ check-jsonschema --builtin-schema vendor.gitlab-ci --data-transform gitlab-ci .gitlab-ci.yml .gitlab/workflows/* .yml
95
95
check-jsonschema --builtin-schema vendor.readthedocs .readthedocs.yaml
96
96
check-jsonschema --builtin-schema vendor.renovate .renovaterc.json
97
97
Original file line number Diff line number Diff line change @@ -91,6 +91,18 @@ repos:
91
91
language: python
92
92
types:
93
93
- text
94
+ - id: check-jsonschema
95
+ name: check-jsonschema
96
+ entry: make check-jsonschema
97
+ language: python
98
+ files: (?x)^(
99
+ \.github/workflows/[^/]+|
100
+ \.gitlab-ci\.yml|
101
+ \.gitlab/workflows/[^/]+|
102
+ \.readthedocs\.yaml|
103
+ \.renovaterc\.json
104
+ )$
105
+ pass_filenames: false
94
106
- id: forbidden-files
95
107
name: forbidden files
96
108
entry: found Copier update rejection files; review them and remove them
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ check-jsonschema:
96
96
check-jsonschema --builtin-schema vendor.github-workflows .github/workflows/*.yml
97
97
[%- endif %]
98
98
[%- if repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' or project_name == "Serious Scaffold Python" %]
99
- check-jsonschema --builtin-schema vendor.gitlab-ci .gitlab-ci.yml .gitlab/workflows/*.yml
99
+ check-jsonschema --builtin-schema vendor.gitlab-ci --data-transform gitlab-ci .gitlab-ci.yml .gitlab/workflows/*.yml
100
100
[%- endif %]
101
101
check-jsonschema --builtin-schema vendor.readthedocs .readthedocs.yaml
102
102
check-jsonschema --builtin-schema vendor.renovate .renovaterc.json
You can’t perform that action at this time.
0 commit comments