Skip to content

Commit 3596793

Browse files
authored
Lint github actions and dependabot.yml (#18069)
Taken from python/cpython@dcda92f I temporarly disabled some checks due to #17822
1 parent d81a9ef commit 3596793

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.pre-commit-config.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,19 @@ repos:
1515
hooks:
1616
- id: ruff
1717
args: [--exit-non-zero-on-fix]
18+
- repo: https://github.com/python-jsonschema/check-jsonschema
19+
rev: 0.29.4
20+
hooks:
21+
- id: check-dependabot
22+
- id: check-github-workflows
23+
- repo: https://github.com/rhysd/actionlint
24+
rev: v1.7.3
25+
hooks:
26+
- id: actionlint
27+
args: [
28+
-ignore=property "debug_build" is not defined,
29+
-ignore=property "allow_failure" is not defined,
30+
-ignore=SC2(046|086),
31+
]
1832
ci:
1933
autoupdate_schedule: quarterly

0 commit comments

Comments
 (0)