Skip to content

Commit d88cb48

Browse files
Add zizmor pre-commit (#663)
1 parent 18fa917 commit d88cb48

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/milestone-merged-prs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Milestone
22

33
on:
4-
pull_request_target:
4+
pull_request_target: # zizmor: ignore[dangerous-triggers]
55
types:
66
- closed
77
branches:

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
args: [--prose-wrap=preserve]
2727

2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: 89c421dff2e1026ba12cdb9ebd731f4a83aa8021 # frozen: v0.8.6
29+
rev: 73413df07b4ab0bf103ca1ae73c7cec5c0ace593 # frozen: v0.9.2
3030
hooks:
3131
- id: ruff
3232
args:
@@ -38,6 +38,11 @@ repos:
3838
]
3939
- id: ruff-format
4040

41+
- repo: https://github.com/woodruffw/zizmor-pre-commit
42+
rev: 4dcc98ccce605605fd6d5202bf803a8c8bc34e8d # v1.1.1
43+
hooks:
44+
- id: zizmor
45+
4146
ci:
4247
# This ensures that PR's aren't autofixed by the bot, rather you call
4348
# the bot to make the fix

0 commit comments

Comments
 (0)