Skip to content

Commit a8e0467

Browse files
authored
Lint github actions and dependabot.yml
Taken from python/cpython@dcda92f
1 parent d81a9ef commit a8e0467

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,18 @@ 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=1st argument of function call is not assignable,
29+
# -ignore=SC2(015|038|086|091|097|098|129|155),
30+
]
1831
ci:
1932
autoupdate_schedule: quarterly

0 commit comments

Comments
 (0)