Comma ignored on PR title check #632
-
Following the guide of https://docs.gitstream.cm/automations/standard/enforce-pr-title/ and trying to add a comma to the regex like
causes the check still to fail if the title is containing a comma. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Hi @GFriedrich, thanks for raising this issue. Can you please share an example of a name that failed in your case? |
Beta Was this translation helpful? Give feedback.
Hey, please switch the
match
withincludes
.match
expects a list of but the title is not a list, you should useincludes
as followsthis replaces the current
{{ pr.title | match(regex=titlePolicy.titleRegex) | nope }}
← should be replaced with the above snippet!