We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ca166 commit 645ff01Copy full SHA for 645ff01
main/githooks.py
@@ -832,9 +832,10 @@ def check_commit_msg(message, files):
832
833
'''
834
if re.match(r'^Merge (branch|commit) \'.+?\'( of [^\s]+)? into .+', message):
835
- # Not checking for JIRA in commit message generated by github
836
- pass
837
- elif NO_JIRA_MARKER not in message:
+ # Not checking for JIRA or large file in commit message generated by github
+ return 0
+
838
+ if NO_JIRA_MARKER not in message:
839
if jira_id_pattern.search(message) is None:
840
_fail('Every commit should contain a Jira issue ID or the text '
841
f'{NO_JIRA_MARKER}')
0 commit comments