Skip to content

Allow matching only the repo-root for CODEOWNERS

What does this MR do?

When wanting to match files in the repo root, but only on the repo's root. Users would supply /* as the pattern.

In our old implementation we would match this pattern as *, but allowing * to match directory separators.

In this we treat the /* pattern as an entirely separate case: Matching all files in the root, but only one level deep.

What are the relevant issue numbers?

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

Does this MR meet the acceptance criteria?

Edited by Bob Van Landuyt

Merge request reports