Skip to content

Commit 7f125a4

Browse files
committed
Update JIRA check in check_commit_msg to exclude open source repositories NO_JIRA
1 parent b095411 commit 7f125a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main/githooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ def check_commit_msg(message, files, repo):
850850
# Not checking for JIRA or large file in commit message generated by github
851851
return 0
852852

853-
if re.match(r'^ccdc-opensource', repo):
853+
if re.match(r'^ccdc-opensource/', repo):
854854
# Do not check for JIRA in opensource repo as we don't want to require external contributors to do this
855855
return 0
856856

0 commit comments

Comments
 (0)