ci: add zizmor

This commit is contained in:
monosans
2026-06-11 17:44:06 +03:00
parent f44fdb22c5
commit 1cf2eb6aaf
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -471,7 +471,7 @@ jobs:
with:
python-version: "3.14"
enable-cache: false
- run: uv tool run --exclude-newer '3 days' --no-cache prek run --all-files --show-diff-on-failure
- run: uvx --no-cache prek run --all-files --show-diff-on-failure
rustfmt:
runs-on: ubuntu-24.04
steps:
+4
View File
@@ -27,3 +27,7 @@ repos:
rev: v3.8.3
hooks:
- id: prettier
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.25.2
hooks:
- id: zizmor
+7
View File
@@ -0,0 +1,7 @@
rules:
anonymous-definition:
disable: true
template-injection:
disable: true
undocumented-permissions:
disable: true