From 3dd12219ae6e6eb83af6a1414fde38a76fe30c8a Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Thu, 3 Dec 2026 10:43:41 -0800 Subject: [PATCH] Add CODEOWNERS for review teams 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 --- .github/CODEOWNERS | 93 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000000..ddcf8996792 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,93 @@ +# Code owners for react/react-native. +# +# The last matching rule wins, so a narrower path must come after the broader +# path it carves out of. +# +# Each team listed here must be visible and have write access to this +# repository; otherwise GitHub does not request its review. +# +# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners + +# Default owners +* @react/native-maintainers + +# JavaScript APIs +/packages/react-native/Libraries/ @react/native-js-api +/packages/react-native/src/ @react/native-js-api +/packages/react-native/types_DEPRECATED/ @react/native-js-api +/packages/virtualized-lists/ @react/native-js-api + +# Android +/packages/react-native/ReactAndroid/ @react/native-android + +# Apple +/packages/react-native/React/ @react/native-apple +/packages/react-native/ReactApple/ @react/native-apple + +# Runtime +/packages/react-native/ReactCommon/ @react/native-runtime +/packages/react-native/ReactCxxPlatform/ @react/native-runtime +/packages/react-native/sdks/ @react/native-runtime + +# Native modules and codegen +/packages/react-native-codegen/ @react/native-modules-codegen +/packages/babel-plugin-codegen/ @react/native-modules-codegen +/packages/eslint-plugin-specs/ @react/native-modules-codegen + +# DevTools +/packages/dev-middleware/ @react/native-devtools +/packages/community-cli-plugin/ @react/native-devtools +/packages/debugger-frontend/ @react/native-devtools +/packages/debugger-shell/ @react/native-devtools +/packages/metro-config/ @react/native-devtools +/packages/react-native-babel-preset/ @react/native-devtools +/packages/react-native-babel-transformer/ @react/native-devtools +/packages/typescript-config/ @react/native-devtools + +# Build and release +/packages/gradle-plugin/ @react/native-build-release +/scripts/build/ @react/native-build-release +/scripts/releases/ @react/native-build-release +/scripts/releases-ci/ @react/native-build-release +/.github/ @react/native-build-release + +# Testing +/packages/rn-tester/ @react/native-testing +/private/helloworld/ @react/native-testing +/private/react-native-fantom/ @react/native-testing +/packages/react-native-test-library/ @react/native-testing +/packages/jest-preset/ @react/native-testing +/scripts/e2e/ @react/native-testing + +# Renderer, inside the runtime and JavaScript API paths above +/packages/react-native/ReactCommon/react/renderer/ @react/native-renderer +/packages/react-native/ReactCommon/yoga/ @react/native-renderer +/packages/react-native/Libraries/Renderer/ @react/native-renderer +/packages/react-native/src/private/renderer/ @react/native-renderer + +# Native modules and codegen, inside the paths above +/packages/react-native/ReactCommon/react/nativemodule/ @react/native-modules-codegen +/packages/react-native/ReactCommon/react/bridging/ @react/native-modules-codegen +/packages/react-native/Libraries/NativeModules/ @react/native-modules-codegen +/packages/react-native/Libraries/TurboModule/ @react/native-modules-codegen +/packages/react-native/scripts/codegen/ @react/native-modules-codegen +/packages/react-native/scripts/featureflags/ @react/native-modules-codegen + +# DevTools, inside the paths above +/packages/react-native/ReactCommon/jsinspector-modern/ @react/native-devtools +/packages/react-native/ReactCommon/jsitooling/ @react/native-devtools +/packages/react-native/ReactCommon/devtoolsruntimesettings/ @react/native-devtools +/packages/react-native/React/Inspector/ @react/native-devtools +/packages/react-native/React/DevSupport/ @react/native-devtools +/packages/react-native/Libraries/LogBox/ @react/native-devtools +/packages/react-native/Libraries/Debugging/ @react/native-devtools +/packages/react-native/src/private/devsupport/ @react/native-devtools + +# Platform folders of the test apps +/packages/rn-tester/android/ @react/native-android +/packages/rn-tester/RNTester/ @react/native-apple +/private/helloworld/android/ @react/native-android +/private/helloworld/ios/ @react/native-apple + +# This file +/.github/CODEOWNERS @react/native-maintainers