pre-commit / pre-commit-hooks

Some out-of-the-box hooks for pre-commit
MIT License
5.4k stars 710 forks source link

New hook for enforcing branch name #1057

Closed rmariano closed 6 months ago

rmariano commented 6 months ago

Use a regex to validate the naming convention the branch should follow. If it's not correct, it fails.

asottile commented 6 months ago

please discuss new features before wasting time on them. I also believe this has been rejected in the past