Skip to content

Commit 40b5072

Browse files
committed
use new stages names to silence pre-commit warning
1 parent 0996aac commit 40b5072

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-hooks.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
args: [-w, -s]
77
types: [shell]
88
exclude_types: [csh, tcsh, zsh]
9-
stages: [commit, merge-commit, push, manual]
9+
stages: [pre-commit, pre-merge-commit, pre-push, manual]
1010

1111
- id: shfmt-src
1212
name: shfmt
@@ -18,7 +18,7 @@
1818
args: [-w, -s]
1919
types: [shell]
2020
exclude_types: [csh, tcsh, zsh]
21-
stages: [commit, merge-commit, push, manual]
21+
stages: [pre-commit, pre-merge-commit, pre-push, manual]
2222

2323
- id: shfmt-docker
2424
name: shfmt
@@ -29,4 +29,4 @@
2929
args: [-w, -s]
3030
types: [shell]
3131
exclude_types: [csh, tcsh, zsh]
32-
stages: [commit, merge-commit, push, manual]
32+
stages: [pre-commit, pre-merge-commit, pre-push, manual]

0 commit comments

Comments
 (0)