fix(commit_footer_refs): enable automated jobs without MR to succeed.

automated jobs use !not for MR

fixes #44 !72
This commit is contained in:
2023-11-18 16:11:26 +09:30
parent 67199ccc55
commit 0f6e06c50f

View File

@ -57,7 +57,7 @@ class Commits:
footer_line = git_message.split("\n")
footer_line = footer_line[(len(footer_line)-1)]
commit_footer = re.findall(r"([\!|\#][0-9]+)", str(git_message))
commit_footer = re.findall(r"([\!|\#][\d|not]+)", str(git_message))
if len(commit_footer) > 0:
footer = commit_footer