mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Add nocommit hook
This commit is contained in:
parent
d3cb871783
commit
56eb16f2f9
4 changed files with 50 additions and 19 deletions
|
|
@ -164,9 +164,9 @@
|
|||
- id: no-commit-keywords
|
||||
name: "Don't commit when nocommit keyword is present"
|
||||
entry: no-commit-keywords
|
||||
language: script
|
||||
always_run: true
|
||||
language: python
|
||||
types: [text]
|
||||
stages: [commit, push, manual]
|
||||
- id: no-commit-to-branch
|
||||
name: "Don't commit to branch"
|
||||
entry: no-commit-to-branch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue