🎨 allow underscore in branch names

allow underscore in branch names in regex for pre-commit hook - no-commit-branch
This commit is contained in:
Ondřej Samohel 2023-02-07 19:37:11 +01:00 committed by GitHub
parent 0b7ca434a3
commit d819a0c8c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,4 +9,4 @@ repos:
- id: check-yaml
- id: check-added-large-files
- id: no-commit-to-branch
args: [ '--pattern', '^(?!((release|enhancement|feature|bugfix|documentation|tests|local|chore)\/[a-zA-Z0-9\-]+)$).*' ]
args: [ '--pattern', '^(?!((release|enhancement|feature|bugfix|documentation|tests|local|chore)\/[a-zA-Z0-9\-_]+)$).*' ]