In the past few days, starting the merge train is failing with the error
“Commit message does not follow the pattern ‘^Merge.*$’. Try again.”
but the merge request template we’re using clearly matches this pattern.
Steps to reproduce
-
Create merge request
-
Ensure all checks pass
-
Click “Merge”
-
Error is reported
Failed workarounds
- Reducing rule to
^.*Merge.*$
or.*Merge.*
Workaround
- Clear “Require expression in commit messages” field
Configuration
I do not believe anything in our .yml files would affect this particular scenario – it feels like a gitlab configuration issue.
Versions
It seems our rules are set up according to Push rules | GitLab and Syntax · google/re2 Wiki · GitHub
Why is this only happening now. Did something change recently that would cause this issue? Is the error erroneous and something else is actually causing the issue?