Display merge check error when MR title does not match regex format
Proposal
When Enforce naming convention on MR title (#25689) is enabled and the merge request title does not match the format:
- Display error in merge check widget
- Display "Merge request title must match expected format"
- Link to "Edit merge request"
- For the create/edit merge request screen, show validation in for the title field
- Validation message: "Title must match format
{regex}
"
- Validation message: "Title must match format
Merge check - title format error | Show validation in Edit merge request |
---|---|
![]() |
![]() |
The format should be displayed because it could mean the difference between understanding whether the format is [ABC]
or ABC
.