Skip to content

Commit 596c49e

Browse files
committed
Add zizmor to pre-commit
1 parent 1503fc8 commit 596c49e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/zizmor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
rules:
2+
dangerous-triggers:
3+
ignore:
4+
- documentation-links.yml

.pre-commit-config.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.7.1
3+
rev: v0.8.2
44
hooks:
55
- id: ruff
66
name: Run Ruff (lint) on Doc/
@@ -51,7 +51,7 @@ repos:
5151
types_or: [c, inc, python, rst]
5252

5353
- repo: https://github.com/python-jsonschema/check-jsonschema
54-
rev: 0.29.4
54+
rev: 0.30.0
5555
hooks:
5656
- id: check-dependabot
5757
- id: check-github-workflows
@@ -61,6 +61,12 @@ repos:
6161
hooks:
6262
- id: actionlint
6363

64+
- repo: https://github.com/woodruffw/zizmor-pre-commit
65+
rev: v0.8.0
66+
hooks:
67+
- id: zizmor
68+
args: [--min-severity=medium]
69+
6470
- repo: https://github.com/sphinx-contrib/sphinx-lint
6571
rev: v1.0.0
6672
hooks:

0 commit comments

Comments
 (0)