Skip to content

Only validate project name regex if changed

Thong Kuah requested to merge validate_name_regex_only_on_change into master

What does this MR do and why?

Related issue: https://gitlab.com/gitlab-org/gitlab/-/issues/424196

Only validate project name regex if changed

There are legacy project names which do not pass the name regex validation currently. So we should not fail save when other attributes are updated.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading