Prevent committing to dev/master/rc directly (#32029)

* Prevent committing to dev/master/rc directly

* Skip pre-commit on version bump
This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-02-20 09:34:30 -08:00
1 parent 1c81e8ad68
commit b2f2afaf0c
3 files changed
+25 -20

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ enum34==1000000000.0.0
pycrypto==1000000000.0.0
"""
IGNORE_PRE_COMMIT_HOOK_ID = ("check-json",)
IGNORE_PRE_COMMIT_HOOK_ID = ("check-json", "no-commit-to-branch")
def has_tests(module: str):