Skip to content

Commit fd527aa

Browse files
authored
fix: Disable network access for zizmor in pre-commit hooks (#144)
1 parent 1896757 commit fd527aa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.lefthook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pre-commit:
4949
run: pixi {run} typos --force-exclude {staged_files}
5050
- name: zizmor
5151
glob: "*.{yml,yaml}"
52-
run: pixi {run} zizmor --no-progress --min-severity high --fix .
52+
run: pixi {run} zizmor --no-progress --min-severity high --fix --offline .
5353
- name: conftest
5454
glob: "Dockerfile*"
5555
run: pixi {run} conftest-run {staged_files}

template/.lefthook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ pre-commit:
4646
run: pixi {run} typos --force-exclude {staged_files}
4747
- name: zizmor
4848
glob: "*.{yml,yaml}"
49-
run: pixi {run} zizmor --no-progress --min-severity high --fix .
49+
run: pixi {run} zizmor --no-progress --min-severity high --fix --offline .

0 commit comments

Comments
 (0)