Skip to content

Conversation

@cvxluo
Copy link

@cvxluo cvxluo commented Dec 24, 2025

Refs https://linear.app/getsentry/issue/ID-1128/codeowners-seems-to-be-substring-matching-instead-of-exact-filename

Codeowners with **/<filename> would match on example/prefix_<filename>. Add a new regex case to handle **/ patterns correctly.

@linear
Copy link

linear bot commented Dec 24, 2025

@cvxluo cvxluo marked this pull request as ready for review December 26, 2025 17:06
@cvxluo cvxluo requested a review from a team as a code owner December 26, 2025 17:06
@cvxluo cvxluo changed the title fix(codeowners): double star pattern incorrectly matches on suffixes fix(codeowners): Double star pattern incorrectly matches on suffixes Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants