File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 2222 - uses : actions/checkout@v4
2323 with :
2424 persist-credentials : false
25- - uses : actions/setup-python@v5
26- with :
27- python-version : " 3.x"
28- - uses : pre-commit/action@v3.0.1
25+ - uses : j178/prek-action@v1
Original file line number Diff line number Diff line change 1- # Configuration for the zizmor static analysis tool, run via pre-commit in CI
1+ # Configuration for the zizmor static analysis tool, run via prek in CI
22# https://woodruffw.github.io/zizmor/configuration/
33rules :
44 dangerous-triggers :
Original file line number Diff line number Diff line change @@ -284,17 +284,17 @@ _ensure-package: venv
284284 $(VENVDIR ) /bin/python3 -m pip install $(PACKAGE ) ; \
285285 fi
286286
287- .PHONY : _ensure-pre-commit
288- _ensure-pre-commit :
289- $(MAKE ) _ensure-package PACKAGE=pre-commit
287+ .PHONY : _ensure-prek
288+ _ensure-prek :
289+ $(MAKE ) _ensure-package PACKAGE=prek
290290
291291.PHONY : _ensure-sphinx-autobuild
292292_ensure-sphinx-autobuild :
293293 $(MAKE ) _ensure-package PACKAGE=sphinx-autobuild
294294
295295.PHONY : check
296- check : _ensure-pre-commit
297- $(VENVDIR ) /bin/python3 -m pre_commit run --all-files
296+ check : _ensure-prek
297+ $(VENVDIR ) /bin/python3 -m prek run --all-files
298298
299299.PHONY : serve
300300serve :
You can’t perform that action at this time.
0 commit comments