Skip to content

Commit ab3c1cb

Browse files
committed
Add zizmor for GitHub Actions security linting
1 parent daa89a2 commit ab3c1cb

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ci:
4040
- vulture
4141
- vulture-docs
4242
- yamlfix
43+
- zizmor
4344
- pyrefly
4445
- pyrefly-docs
4546

@@ -371,6 +372,15 @@ repos:
371372
additional_dependencies: [uv==0.9.5]
372373
stages: [pre-commit]
373374

375+
- id: zizmor
376+
name: zizmor
377+
entry: uv run --extra=dev zizmor .github
378+
language: python
379+
pass_filenames: false
380+
types_or: [yaml]
381+
additional_dependencies: [uv==0.9.5]
382+
stages: [pre-commit]
383+
374384
- id: sphinx-lint
375385
name: sphinx-lint
376386
entry: uv run --extra=dev sphinx-lint --enable=all --disable=line-too-long

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ optional-dependencies.dev = [
7979
"vws-python-mock==2025.3.10.1",
8080
"vws-test-fixtures==2023.3.5",
8181
"yamlfix==1.19.1",
82+
"zizmor==1.19.0",
8283
]
8384
optional-dependencies.release = [ "check-wheel-contents==0.6.3" ]
8485
urls.Documentation = "https://vws-python.github.io/vws-python/"

0 commit comments

Comments
 (0)