Skip to content

Commit 0b0647d

Browse files
committed
fix commit merge (PLA-3204)
1 parent c6433fe commit 0b0647d

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

main/githooks.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,6 @@ def check_commit_msg(message, files, repo):
867867
if check_conventional_commit(message):
868868
return 1
869869

870-
871870
if (
872871
NO_JIRA_MARKER not in message
873872
and copilot_autofix_coauthor_pattern.search(message) is None
@@ -877,14 +876,6 @@ def check_commit_msg(message, files, repo):
877876
'Every commit should contain a Jira issue ID, '
878877
f'{NO_JIRA_MARKER}, or be a Copilot Autofix commit'
879878
)
880-
if (
881-
NO_JIRA_MARKER not in message
882-
and copilot_autofix_coauthor_pattern.search(message) is None
883-
and jira_id_pattern.search(message) is None
884-
):
885-
_fail(
886-
'Every commit should contain a Jira issue ID, '
887-
f'{NO_JIRA_MARKER}, or be a Copilot Autofix commit'
888879
return 1
889880

890881
for filename in files:

0 commit comments

Comments
 (0)