Repository navigation
Request @vercel/flags review on all PRs via CODEOWNERS - #656
Merged
Merged
Conversation
Co-authored-by: vercel-v[bot] <353008837+vercel-v[bot]@users.noreply.github.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
AndyBitz
approved these changes
Nov 27, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a catch-all
* @vercel/flagsrule to CODEOWNERS so GitHub requests a review from the flags team on every pull request, not just release-plumbing changes.Why
CODEOWNERS only listed four release files (
release.yml,tag-canary.yaml,.changeset/config.json, and CODEOWNERS itself). PRs that change anything else, such as package source underpackages/, matched no rule, so GitHub never requested a review from @vercel/flags. For example, #638 only touchespackages/flags/src/...and got no automatic team request. The file has never had a catch-all rule.Approach
Because no CODEOWNERS rule matches most paths, adding
*as the first rule should make GitHub request @vercel/flags on every PR. CODEOWNERS uses the last matching rule, so the existing release-plumbing entries still apply and still resolve to the same team.Validation
GET /repos/vercel/flags/codeowners/errorsreturns no errors for the current file, so the@vercel/flagsreference already resolves.packages/should show @vercel/flags as a requested reviewer.Relevant context
The org's "Require Code Review" ruleset on the default branch sets
require_code_owner_review: true. With this change, every PR needs an approval from a flags team member, including the changesets "chore: release" PRs.Co-authored-by: vercel-v[bot] <353008837+vercel-v[bot]@users.noreply.github.com>