From 0f6e06c50f7cae602cdc2ca00bbce7fe1fd72c32 Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 18 Nov 2023 16:11:26 +0930 Subject: [PATCH] fix(commit_footer_refs): enable automated jobs without MR to succeed. automated jobs use !not for MR fixes #44 !72 --- gitlab_release/python-module/commit_footer/commits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab_release/python-module/commit_footer/commits.py b/gitlab_release/python-module/commit_footer/commits.py index cb5c5cf..d1e447c 100644 --- a/gitlab_release/python-module/commit_footer/commits.py +++ b/gitlab_release/python-module/commit_footer/commits.py @@ -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