mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 09:01:04 -05:00
feat: Improve (/limit) default set of stages to run pre-commit hook in
https://pre-commit.com/#confining-hooks-to-run-at-certain-stages
This commit is contained in:
parent
1d8996e205
commit
389612f972
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
entry: typos
|
entry: typos
|
||||||
args: [--write-changes]
|
args: [--write-changes]
|
||||||
types: [text]
|
types: [text]
|
||||||
|
stages: [commit, merge-commit, push, manual]
|
||||||
|
|
||||||
- id: typos-src
|
- id: typos-src
|
||||||
name: typos
|
name: typos
|
||||||
|
@ -13,3 +14,4 @@
|
||||||
entry: typos
|
entry: typos
|
||||||
args: [--write-changes]
|
args: [--write-changes]
|
||||||
types: [text]
|
types: [text]
|
||||||
|
stages: [commit, merge-commit, push, manual]
|
||||||
|
|
Loading…
Reference in a new issue