Skip to content

Fix 500 error caused by CODEOWNERS with no matches

Stan Hu requested to merge sh-fix-blank-codeowners-ce into master

Including a CODEOWNERS file with lines without any matching username or e-mail regular expressions would cause an Error 500. Don't attempt a database query if there is nothing to query.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/10282

Merge request reports