Skip to content

Commit 3a138e9

Browse files
authored
Merge pull request #707 from webknjaz/maintenance/linting-jsonschema
This patch adds linting of the RTD and GHA configs for known schema compliance.
2 parents 2ad720f + b1d5593 commit 3a138e9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ repos:
2727
- repo: https://github.com/python-jsonschema/check-jsonschema.git
2828
rev: 0.33.0
2929
hooks:
30+
- id: check-github-workflows
31+
files: ^\.github/workflows/[^/]+$
32+
types:
33+
- yaml
3034
- id: check-jsonschema
3135
name: Check GitHub Workflows set timeout-minutes
3236
args:
@@ -35,6 +39,7 @@ repos:
3539
files: ^\.github/workflows/[^/]+$
3640
types:
3741
- yaml
42+
- id: check-readthedocs
3843

3944
- repo: https://github.com/pre-commit/pygrep-hooks.git
4045
rev: v1.10.0
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The linting is now configured to check schemas of the
2+
Read The Docs configuration file and the GitHub Actions
3+
CI/CD workflow files in addition to enforcing timeouts.
4+
5+
-- by :user:`webknjaz`

0 commit comments

Comments
 (0)