Skip to content

Commit beb3998

Browse files
committed
<fix>[.gitconfig]: support ZCF project
Resolves: ZCF-4 Change-Id: I77636f62676b6e697975786b6c77796b706e7861
1 parent f52856f commit beb3998

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.gitconfig/hooks/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def check_commit_msg(file_path):
132132
FAIL = False
133133

134134
jira_patterns = [r"\bZSTAC-\d+\b", r"\bZSTACK-\d+\b", r"\bMINI-\d+\b",
135-
r"\bZOPS-\d+\b", r"\bZHCI-\d+\b", r"\bZSV-\d+\b"]
135+
r"\bZOPS-\d+\b", r"\bZHCI-\d+\b", r"\bZSV-\d+\b", r"\bZCF-\d+\b"]
136136
with open(file_path, 'r', encoding='utf8') as f:
137137
lines = f.readlines()
138138
full_lines = len(lines)

.gitconfig/hooks/prepare-commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def get_tags(changed_folders, changed_paths):
286286
def get_jiras():
287287
jiras = []
288288
jira_patterns = [r"\bZSTAC-\d+\b", r"\bZSTACK-\d+\b", r"\bMINI-\d+\b",
289-
r"\bZOPS-\d+\b", r"\bZHCI-\d+\b", r"\bZSV-\d+\b"]
289+
r"\bZOPS-\d+\b", r"\bZHCI-\d+\b", r"\bZSV-\d+\b", r"\bZCF-\d+\b"]
290290

291291
bashCommand = "git rev-parse --abbrev-ref HEAD"
292292
process = subprocess.Popen(bashCommand.split(), stdout=subprocess.PIPE)

0 commit comments

Comments
 (0)