Repository navigation
Add CODEOWNERS for review teams - #60518
Draft
mattcarrollcode wants to merge 1 commit into
Draft
mattcarrollcode wants to merge 1 commit into
mattcarrollcode wants to merge 1 commit into
Conversation
Adds .github/CODEOWNERS so a pull request asks for review from the team that owns the files it changes. Anything without a narrower rule falls back to @react/native-maintainers, which also owns this file. Signed-off-by: Matt Carroll <mattca@fb.com>
This branch has not been 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.
Summary:
Adds
.github/CODEOWNERSso a pull request asks for review from the team that owns the files it changes. Anything without a narrower rule falls back to@react/native-maintainers, which also owns this file.GitHub uses the last matching rule, so the narrower folders (renderer, codegen and DevTools paths inside
ReactCommon,Libraries,srcandReact, and the platform folders of the test apps) come after the broader paths they sit in. Hand-written.d.tsfiles are listed attypes_DEPRECATED/, where #57513 moved them.This stays a draft until the teams exist:
@react/native-*teams as visible teams, each with Write access to this repo. GitHub does not request review from a team that is missing, secret, or lacks write access.mainbranch protection. Todaymainrequires one approval with code-owner review off.Changelog:
[INTERNAL] [ADDED] - Add CODEOWNERS for review teams
Test Plan:
Checked the file against
mainat 2c31df8 with a script that applies last-match-wins to all 8,483 tracked files:Once the teams exist, the CODEOWNERS file view on GitHub should show no errors.