2020-01-16 11:39:09 -05:00
####################################################################################
####################################################################################
# Angular Code Ownership #
####################################################################################
####################################################################################
#
# Configuration of code ownership and review approvals for the angular/angular repo.
2020-01-28 15:52:49 -05:00
#
# More info: https://docs.pullapprove.com/
#
2020-01-16 11:39:09 -05:00
# =========================================================
# General rules / philosophy
# =========================================================
#
# - We trust that people do the right thing and won't approve changes they don't feel confident reviewing
# - We enforce that only approved PRs are merged ensuring that unreviewed code isn't accidentally merged
# - We distribute approval rights as much as possible to help us scale better
# - Groups have one or two global approvers groups as fallbacks:
# - @angular/fw-global-approvers: for approving minor changes, large-scale refactorings, and emergency situations.
# - @angular/fw-global-approvers-for-docs-only-changes: for approving minor documentation-only changes that don't require engineering review
# - A small number of file groups have very limited number of reviewers because incorrect changes to the files they guard would have serious consequences (e.g. security, public api)
#
# Configuration nuances:
#
# - This configuration works in conjunction with the protected branch settings that require all changes to be made via pull requests with at least one approval.
# - This approval can come from an appropriate codeowner, or any repo collaborator (person with write access) if the PR is authored by a codeowner.
# - All groups whose pullapprove rules are matched will be required for overall approval.
#
# NOTE:
# In the case of emergency, the repo administrators which include the current angular caretaker
# can bypass this reviewer approval requirement, this is expected as a last resort and to be
# done exceedingly sparingly.
####################################################################################
# GitHub usernames
####################################################################################
2020-05-04 11:20:24 -04:00
# See reviewer list under `required-minimum-review` group. Team member names and
# usernames are managed there.
2020-01-16 11:39:09 -05:00
####################################################################################
# Approval Groups
####################################################################################
# =========================================================
# @angular/framework-global-approvers
# =========================================================
2020-01-28 15:52:49 -05:00
# Used for approving minor changes, large-scale refactorings, and in emergency situations.
#
2021-05-18 16:41:16 -04:00
# alxhub
2020-01-16 11:39:09 -05:00
# IgorMinar
2020-06-05 18:10:13 -04:00
# jelbourn
2020-01-16 11:39:09 -05:00
# josephperrott
#
# =========================================================
# @angular/framework-global-approvers-for-docs-only-changes
# =========================================================
2020-01-28 15:52:49 -05:00
# Used for approving minor documentation-only changes that don't require engineering review.
#
2020-01-16 11:39:09 -05:00
# aikidave
# gkalpak
# petebacondarwin
2021-05-18 16:45:05 -04:00
# TeriGlover
2020-01-16 11:39:09 -05:00
version : 3
2020-03-30 11:25:39 -04:00
# Meta field that goes unused by PullApprove to allow for defining aliases to be
# used throughout the config.
meta :
2020-06-27 15:47:54 -04:00
# The following groups have no file based conditions and will be initially `active` on all PRs
# - `global-approvers`
# - `global-docs-approvers`
# - `required-minimum-review`
#
# By checking the number of active/pending/rejected groups when these are excluded, we can determine
# if any other groups are matched.
#
2020-07-27 20:10:23 -04:00
# Note: Because all inactive groups start as pending, we are only checking pending and rejected active groups.
#
2020-06-27 15:47:54 -04:00
# Also note that the ordering of groups matters in this file. The only groups visible to the current
# one are those that appear above it.
2021-05-14 13:54:35 -04:00
no-groups-above-this-pending : &no-groups-above-this-pending len(groups.active.pending.exclude("required-minimum-review").exclude("global-approvers").exclude("global-docs-approvers")) == 0
no-groups-above-this-rejected : &no-groups-above-this-rejected len(groups.active.rejected.exclude("required-minimum-review").exclude("global-approvers").exclude("global-docs-approvers")) == 0
no-groups-above-this-active : &no-groups-above-this-active len(groups.active.exclude("required-minimum-review").exclude("global-approvers").exclude("global-docs-approvers")) == 0
2020-06-27 15:47:54 -04:00
2021-05-14 13:54:35 -04:00
can-be-global-approved : &can-be-global-approved '"global-approvers" not in groups.approved'
can-be-global-docs-approved : &can-be-global-docs-approved '"global-docs-approvers" not in groups.approved'
2020-05-04 11:20:24 -04:00
defaults : &defaults
reviews :
# Authors provide their approval implicitly, this approval allows for a reviewer
# from a group not to need a review specifically for an area of the repository
# they own. This is coupled with the `required-minimum-review` group which requires
# that all PRs are reviewed by at least one team member who is not the author of
# the PR.
author_value : 1
2020-03-30 11:25:39 -04:00
2020-01-16 11:39:09 -05:00
# turn on 'draft' support
# https://docs.pullapprove.com/config/github-api-version/
# https://developer.github.com/v3/previews/#draft-pull-requests
2021-05-14 13:54:35 -04:00
github_api_version : 'shadow-cat-preview'
2020-01-16 11:39:09 -05:00
pullapprove_conditions :
2020-10-26 12:47:49 -04:00
# For PRs which are still being worked on, either still in draft mode or indicated through WIP in
# title or label, PullApprove stays in a pending state until its ready for review.
2020-01-28 12:29:36 -05:00
- condition : "'WIP' not in title"
2020-01-16 11:39:09 -05:00
unmet_status : pending
2021-05-14 13:54:35 -04:00
explanation : 'Waiting to send reviews as PR is WIP'
2020-01-28 12:29:36 -05:00
- condition : "'PR state: WIP' not in labels"
unmet_status : pending
2021-05-14 13:54:35 -04:00
explanation : 'Waiting to send reviews as PR is WIP'
- condition : 'not draft'
2020-02-12 17:30:49 -05:00
unmet_status : pending
2021-05-14 13:54:35 -04:00
explanation : 'Waiting to send reviews as PR is in draft'
2020-10-26 12:47:49 -04:00
# Disable PullApprove on specific PRs by adding the `PullApprove: disable` label
- condition : "'PullApprove: disable' not in labels"
unmet_status : success
explanation : "PullApprove skipped because of 'PullApprove: disable' label"
2020-01-28 12:29:36 -05:00
2020-01-16 11:39:09 -05:00
groups :
2020-06-18 11:26:46 -04:00
# =========================================================
# Global Approvers
#
# All reviews performed for global approvals require using
# the `Reviewed-for:` specifier to set the approval
# specificity as documented at:
# https://docs.pullapprove.com/reviewed-for/
# =========================================================
global-approvers :
type : optional
reviewers :
teams :
- framework-global-approvers
reviews :
request : 0
required : 1
reviewed_for : required
# =========================================================
# Global Approvers For Docs
#
# All reviews performed for global docs approvals require
# using the `Reviewed-for:` specifier to set the approval
# specificity as documented at:
# https://docs.pullapprove.com/reviewed-for/
# =========================================================
global-docs-approvers :
type : optional
reviewers :
teams :
- framework-global-approvers-for-docs-only-changes
reviews :
request : 0
required : 1
reviewed_for : required
2020-05-04 11:20:24 -04:00
# =========================================================
# Require review on all PRs
#
# All PRs require at least one review. This rule will not
# request any reviewers, however will require that at least
# one review is provided before the group is satisfied.
# =========================================================
required-minimum-review :
2020-06-18 11:26:46 -04:00
conditions :
- *can-be-global-approved
- *can-be-global-docs-approved
2020-05-04 11:20:24 -04:00
reviews :
request : 0 # Do not request any reviews from the reviewer group
required : 1 # Require that all PRs have approval from at least one of the users in the group
author_value : 0 # The author of the PR cannot provide an approval for themself
2021-01-07 10:30:42 -05:00
reviewed_for : ignored # All reviews apply to this group whether noted via Reviewed-for or not
2020-05-04 11:20:24 -04:00
reviewers :
users :
2021-05-14 13:54:35 -04:00
- aikidave # Dave Shevitz
- alan-agius4 # Alan Agius
- alxhub # Alex Rickabaugh
- AndrewKushnir # Andrew Kushnir
- andrewseguin # Andrew Seguin
- atscott # Andrew Scott
- ayazhafiz # Ayaz Hafiz
- clydin # Charles Lyding
- crisbeto # Kristiyan Kostadinov
- devversion # Paul Gschwendtner
- dgp1130 # Doug Parker
- filipesilva # Filipe Silva
- gkalpak # Georgios Kalpakas
- gregmagolan # Greg Magolan
- IgorMinar # Igor Minar
- jbogarthyde # Judy Bogart
- jelbourn # Jeremy Elbourn
- jessicajaniuk # Jessica Janiuk
- JiaLiPassion # Jia Li
- JoostK # Joost Koehoorn
- josephperrott # Joey Perrott
- kyliau # Keen Yee Liau
- manughub # Manu Murthy
- mgechev # Minko Gechev
- mmalerba # Miles Malerba
- petebacondarwin # Pete Bacon Darwin
- pkozlowski-opensource # Pawel Kozlowski
- Splaktar # Michael Prentice
- twerske # Emma Twersky
- zarend # Zach Arend
2020-05-04 11:20:24 -04:00
2020-01-16 11:39:09 -05:00
# =========================================================
# Framework: Animations
# =========================================================
fw-animations :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/animations/**' ,
'packages/platform-browser/animations/**' ,
'aio/content/guide/animations.md' ,
'aio/content/examples/animations/**' ,
'aio/content/images/guide/animations/**' ,
'aio/content/guide/complex-animation-sequences.md' ,
'aio/content/guide/reusable-animations.md' ,
'aio/content/guide/route-animations.md' ,
'aio/content/guide/transition-and-triggers.md'
] )
reviewers :
users :
2020-07-20 14:06:05 -04:00
- crisbeto
- IgorMinar
- jelbourn
2020-01-16 11:39:09 -05:00
# =========================================================
# Framework: Compiler
# =========================================================
fw-compiler :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
2020-04-16 17:18:16 -04:00
contains_any_globs(files.exclude('packages/compiler-cli/ngcc/**'), [
2020-01-16 11:39:09 -05:00
'packages/compiler/**' ,
'packages/examples/compiler/**' ,
'packages/compiler-cli/**' ,
'aio/content/guide/angular-compiler-options.md' ,
'aio/content/guide/aot-compiler.md' ,
'aio/content/guide/aot-metadata-errors.md' ,
'aio/content/guide/template-typecheck.md '
] )
reviewers :
users :
- alxhub
- AndrewKushnir
- JoostK
# =========================================================
# Framework: Compiler / ngcc
# =========================================================
fw-ngcc :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-04-16 17:18:16 -04:00
- files.include('packages/compiler-cli/ngcc/**')
2020-01-16 11:39:09 -05:00
reviewers :
users :
- alxhub
- gkalpak
- JoostK
- petebacondarwin
2020-04-16 17:27:33 -04:00
# =========================================================
# Framework: Migrations
# =========================================================
fw-migrations :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-04-16 17:27:33 -04:00
conditions :
- *can-be-global-approved
- *can-be-global-docs-approved
- files.include("packages/core/schematics/**")
reviewers :
users :
- alxhub
- crisbeto
2021-03-26 15:34:34 -04:00
- devversion
2020-04-16 17:27:33 -04:00
2020-01-16 11:39:09 -05:00
# =========================================================
# Framework: Core
# =========================================================
fw-core :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
2020-04-16 17:27:33 -04:00
contains_any_globs(files.exclude("packages/core/schematics/**"), [
2020-01-16 11:39:09 -05:00
'packages/core/**' ,
'packages/examples/core/**' ,
'packages/platform-browser/**' ,
'packages/examples/platform-browser/**' ,
'packages/platform-browser-dynamic/**' ,
'packages/docs/**' ,
'aio/content/guide/accessibility.md' ,
'aio/content/examples/accessibility/**' ,
'aio/content/guide/architecture-components.md' ,
'aio/content/guide/architecture-modules.md' ,
'aio/content/guide/architecture-next-steps.md' ,
'aio/content/guide/architecture-services.md' ,
'aio/content/guide/architecture.md' ,
'aio/content/examples/architecture/**' ,
'aio/content/images/guide/architecture/**' ,
'aio/content/guide/attribute-directives.md' ,
'aio/content/examples/attribute-directives/**' ,
'aio/content/images/guide/attribute-directives/**' ,
'aio/content/guide/bootstrapping.md' ,
'aio/content/examples/bootstrapping/**' ,
'aio/content/guide/cheatsheet.md' ,
'aio/content/guide/component-interaction.md' ,
'aio/content/examples/component-interaction/**' ,
'aio/content/images/guide/component-interaction/**' ,
2020-10-06 19:52:53 -04:00
'aio/content/guide/component-overview.md' ,
'aio/content/examples/component-overview/**' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/component-styles.md' ,
2020-09-24 16:30:13 -04:00
'aio/content/guide/view-encapsulation.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/component-styles/**' ,
2021-03-09 19:25:18 -05:00
'aio/content/examples/content-projection/**' ,
'aio/content/guide/content-projection.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/dependency-injection.md' ,
'aio/content/examples/dependency-injection/**' ,
'aio/content/images/guide/dependency-injection/**' ,
'aio/content/guide/dependency-injection-in-action.md' ,
'aio/content/examples/dependency-injection-in-action/**' ,
'aio/content/images/guide/dependency-injection-in-action/**' ,
'aio/content/guide/dependency-injection-navtree.md' ,
'aio/content/guide/dependency-injection-providers.md' ,
2020-03-19 11:40:36 -04:00
'aio/content/guide/lightweight-injection-tokens.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/displaying-data.md' ,
'aio/content/examples/displaying-data/**' ,
'aio/content/images/guide/displaying-data/**' ,
'aio/content/guide/dynamic-component-loader.md' ,
'aio/content/examples/dynamic-component-loader/**' ,
'aio/content/images/guide/dynamic-component-loader/**' ,
2020-10-15 17:06:04 -04:00
'aio/content/guide/example-apps-list.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/entry-components.md' ,
'aio/content/guide/feature-modules.md' ,
'aio/content/examples/feature-modules/**' ,
'aio/content/images/guide/feature-modules/**' ,
'aio/content/guide/frequent-ngmodules.md' ,
'aio/content/images/guide/frequent-ngmodules/**' ,
'aio/content/guide/hierarchical-dependency-injection.md' ,
'aio/content/examples/hierarchical-dependency-injection/**' ,
'aio/content/examples/providers-viewproviders/**' ,
'aio/content/examples/resolution-modifiers/**' ,
'aio/content/guide/lazy-loading-ngmodules.md' ,
'aio/content/examples/lazy-loading-ngmodules/**' ,
'aio/content/images/guide/lazy-loading-ngmodules/**' ,
'aio/content/guide/lifecycle-hooks.md' ,
'aio/content/examples/lifecycle-hooks/**' ,
'aio/content/images/guide/lifecycle-hooks/**' ,
'aio/content/examples/ngcontainer/**' ,
'aio/content/guide/ngmodules.md' ,
'aio/content/examples/ngmodules/**' ,
'aio/content/guide/ngmodule-api.md' ,
'aio/content/guide/ngmodule-faq.md' ,
'aio/content/guide/ngmodule-vs-jsmodule.md' ,
'aio/content/guide/module-types.md' ,
'aio/content/guide/template-syntax.md' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/built-in-template-functions.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/built-in-template-functions/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/event-binding.md' ,
2020-09-18 16:43:40 -04:00
'aio/content/guide/event-binding-concepts.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/event-binding/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/interpolation.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/interpolation/**' ,
'aio/content/examples/template-syntax/**' ,
'aio/content/images/guide/template-syntax/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/binding-syntax.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/binding-syntax/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/property-binding.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/property-binding/**' ,
2020-09-10 17:06:39 -04:00
'aio/content/guide/property-binding-best-practices.md' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/attribute-binding.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/attribute-binding/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/two-way-binding.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/two-way-binding/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/built-in-directives.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/built-in-directives/**' ,
'aio/content/images/guide/built-in-directives/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/template-reference-variables.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/template-reference-variables/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/inputs-outputs.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/inputs-outputs/**' ,
'aio/content/images/guide/inputs-outputs/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/template-expression-operators.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/template-expression-operators/**' ,
'aio/content/guide/pipes.md' ,
'aio/content/examples/pipes/**' ,
'aio/content/images/guide/pipes/**' ,
'aio/content/guide/providers.md' ,
'aio/content/examples/providers/**' ,
2020-07-08 14:11:20 -04:00
'aio/content/images/guide/providers/**' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/singleton-services.md' ,
'aio/content/guide/set-document-title.md' ,
'aio/content/examples/set-document-title/**' ,
'aio/content/images/guide/set-document-title/**' ,
'aio/content/guide/sharing-ngmodules.md' ,
'aio/content/guide/structural-directives.md' ,
'aio/content/examples/structural-directives/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/svg-in-templates.md' ,
2020-09-14 17:12:32 -04:00
'aio/content/guide/style-precedence.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/images/guide/structural-directives/**' ,
2020-04-28 16:26:58 -04:00
'aio/content/guide/template-statements.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/user-input.md' ,
'aio/content/examples/user-input/**' ,
2021-05-27 16:27:38 -04:00
'aio/content/images/guide/user-input/**' ,
'aio/content/guide/view-encapsulation.md' ,
'aio/content/examples/view-encapsulation/**' ,
'aio/content/images/guide/view-encapsulation/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- alxhub
- AndrewKushnir
2020-05-08 14:36:24 -04:00
- atscott
2020-10-28 13:05:57 -04:00
- jessicajaniuk
2020-09-28 15:22:26 -04:00
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-01-16 11:39:09 -05:00
2020-12-09 18:15:41 -05:00
# =========================================================
# Framework: Common
# =========================================================
fw-common :
<< : *defaults
conditions :
- *can-be-global-approved
- *can-be-global-docs-approved
- >
2021-04-29 15:11:43 -04:00
contains_any_globs(files.exclude("packages/core/schematics/**").exclude("packages/common/http/**"), [
2020-12-09 18:15:41 -05:00
'packages/common/**' ,
'packages/examples/common/**' ,
] )
reviewers :
users :
- alxhub
- AndrewKushnir
- atscott
- jessicajaniuk
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-01-16 11:39:09 -05:00
# =========================================================
# Framework: Http
# =========================================================
fw-http :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/common/http/**' ,
'packages/examples/http/**' ,
'aio/content/guide/http.md' ,
'aio/content/examples/http/**' ,
2020-01-28 15:52:49 -05:00
'aio/content/images/guide/http/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- alxhub
- IgorMinar
2021-01-28 14:46:44 -05:00
- petebacondarwin
2020-01-16 11:39:09 -05:00
# =========================================================
# Framework: Elements
# =========================================================
fw-elements :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/elements/**' ,
'aio/content/examples/elements/**' ,
'aio/content/images/guide/elements/**' ,
'aio/content/guide/elements.md'
] )
reviewers :
users :
- andrewseguin
- gkalpak
# =========================================================
# Framework: Forms
# =========================================================
fw-forms :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/forms/**' ,
'packages/examples/forms/**' ,
'aio/content/guide/forms.md' ,
'aio/content/examples/forms/**' ,
'aio/content/images/guide/forms/**' ,
'aio/content/guide/forms-overview.md' ,
'aio/content/examples/forms-overview/**' ,
'aio/content/images/guide/forms-overview/**' ,
'aio/content/guide/form-validation.md' ,
'aio/content/examples/form-validation/**' ,
'aio/content/images/guide/form-validation/**' ,
'aio/content/guide/dynamic-form.md' ,
'aio/content/examples/dynamic-form/**' ,
'aio/content/images/guide/dynamic-form/**' ,
'aio/content/guide/reactive-forms.md' ,
'aio/content/examples/reactive-forms/**' ,
2020-01-28 15:52:49 -05:00
'aio/content/images/guide/reactive-forms/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- AndrewKushnir
# =========================================================
# Framework: i18n
# =========================================================
fw-i18n :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/core/src/i18n/**' ,
2020-08-10 18:15:24 -04:00
'packages/core/src/render3/i18n/**' ,
'packages/core/src/render3/instructions/i18n.ts' ,
2020-01-16 11:39:09 -05:00
'packages/core/src/render3/interfaces/i18n.ts' ,
'packages/common/locales/**' ,
'packages/common/src/i18n/**' ,
'packages/common/src/pipes/date_pipe.ts' ,
'packages/common/src/pipes/i18n_plural_pipe.ts' ,
'packages/common/src/pipes/i18n_select_pipe.ts' ,
'packages/common/src/pipes/number_pipe.ts' ,
'packages/compiler/src/i18n/**' ,
'packages/compiler/src/render3/view/i18n/**' ,
'packages/compiler-cli/src/extract_i18n.ts' ,
'packages/localize/**' ,
'aio/content/guide/i18n.md' ,
2020-01-28 15:52:49 -05:00
'aio/content/examples/i18n/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- AndrewKushnir
- petebacondarwin
# =========================================================
# Framework: Platform Server
# =========================================================
fw-platform-server :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/platform-server/**' ,
'aio/content/guide/universal.md' ,
2020-01-28 15:52:49 -05:00
'aio/content/examples/universal/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
2021-05-24 04:00:02 -04:00
- alan-agius4
2020-01-16 11:39:09 -05:00
- alxhub
- kyliau
# =========================================================
# Framework: Router
# =========================================================
fw-router :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/router/**' ,
'packages/examples/router/**' ,
'aio/content/guide/router.md' ,
2020-04-09 13:43:26 -04:00
'aio/content/guide/router-tutorial.md' ,
2020-07-08 11:29:41 -04:00
'aio/content/guide/router-tutorial-toh.md' ,
2021-05-06 17:28:54 -04:00
'aio/content/guide/routing-overview.md' ,
'aio/content/guide/router-reference.md' ,
2020-04-09 13:43:26 -04:00
'aio/content/examples/router-tutorial/**' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/router/**' ,
2021-05-17 19:04:08 -04:00
'aio/content/images/guide/router/**' ,
'aio/content/guide/routing-with-urlmatcher.md' ,
'aio/content/examples/routing-with-urlmatcher/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- atscott
# =========================================================
# Framework: Service Worker
# =========================================================
2020-03-30 10:35:21 -04:00
fw-service-worker :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/service-worker/**' ,
'packages/examples/service-worker/**' ,
'aio/content/guide/service-worker-getting-started.md' ,
'aio/content/examples/service-worker-getting-started/**' ,
'aio/content/guide/app-shell.md' ,
'aio/content/guide/service-worker-communications.md' ,
'aio/content/guide/service-worker-config.md' ,
'aio/content/guide/service-worker-devops.md' ,
'aio/content/guide/service-worker-intro.md' ,
2020-01-28 15:52:49 -05:00
'aio/content/images/guide/service-worker/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- alxhub
- gkalpak
- IgorMinar
# =========================================================
# Framework: Upgrade
# =========================================================
fw-upgrade :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/upgrade/**' ,
'packages/common/upgrade/**' ,
'packages/examples/upgrade/**' ,
'aio/content/guide/upgrade.md' ,
'aio/content/examples/upgrade-lazy-load-ajs/**' ,
'aio/content/examples/upgrade-module/**' ,
'aio/content/images/guide/upgrade/**' ,
'aio/content/examples/upgrade-phonecat-1-typescript/**' ,
'aio/content/examples/upgrade-phonecat-2-hybrid/**' ,
'aio/content/examples/upgrade-phonecat-3-final/**' ,
'aio/content/guide/upgrade-performance.md' ,
'aio/content/guide/upgrade-setup.md' ,
'aio/content/guide/ajs-quick-reference.md' ,
2020-01-28 15:52:49 -05:00
'aio/content/examples/ajs-quick-reference/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- gkalpak
- petebacondarwin
# =========================================================
# Framework: Testing
# =========================================================
fw-testing :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
2021-02-10 19:15:08 -05:00
contains_any_globs(files.exclude('packages/compiler-cli/**').exclude('packages/language-service/**'), [
2020-11-02 13:06:31 -05:00
'packages/**/testing/**' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/testing.md' ,
2020-06-30 14:14:34 -04:00
'aio/content/guide/test-debugging.md' ,
'aio/content/guide/testing-attribute-directives.md' ,
'aio/content/guide/testing-code-coverage.md' ,
'aio/content/guide/testing-components-basics.md' ,
'aio/content/guide/testing-components-scenarios.md' ,
'aio/content/guide/testing-pipes.md' ,
'aio/content/guide/testing-services.md' ,
'aio/content/guide/testing-utility-apis.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/testing/**' ,
2020-01-28 15:52:49 -05:00
'aio/content/images/guide/testing/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
2020-04-21 14:47:52 -04:00
- AndrewKushnir
2020-01-16 11:39:09 -05:00
- IgorMinar
2020-09-28 15:22:26 -04:00
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-01-16 11:39:09 -05:00
2020-01-30 19:10:50 -05:00
# =========================================================
# Framework: Benchmarks
# =========================================================
fw-benchmarks :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-30 19:10:50 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
2020-01-30 19:10:50 -05:00
- >
contains_any_globs(files, [
'modules/benchmarks/**'
] )
reviewers :
users :
- IgorMinar
2020-09-28 15:22:26 -04:00
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-01-30 19:10:50 -05:00
# =========================================================
# Framework: Playground
# =========================================================
fw-playground :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-30 19:10:50 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
2020-01-30 19:10:50 -05:00
- >
contains_any_globs(files, [
'modules/playground/**'
] )
reviewers :
users :
- IgorMinar
2020-06-05 18:10:13 -04:00
- jelbourn
2020-09-28 15:22:26 -04:00
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-01-30 19:10:50 -05:00
2020-01-16 11:39:09 -05:00
# =========================================================
# Framework: Security
# =========================================================
fw-security :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/core/src/sanitization/**' ,
'packages/core/test/linker/security_integration_spec.ts' ,
'packages/compiler/src/schema/**' ,
'packages/platform-browser/src/security/**' ,
'aio/content/guide/security.md' ,
'aio/content/examples/security/**' ,
2020-01-28 15:52:49 -05:00
'aio/content/images/guide/security/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- IgorMinar
2020-06-05 18:10:13 -04:00
- jelbourn
2020-09-28 15:22:26 -04:00
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-06-05 18:10:13 -04:00
reviews :
2021-05-14 13:54:35 -04:00
request : -1 # request reviews from everyone
required : 2 # require at least 2 approvals
2020-06-05 18:10:13 -04:00
reviewed_for : required
2020-01-16 11:39:09 -05:00
# =========================================================
# Bazel
# =========================================================
bazel :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/bazel/**' ,
] )
reviewers :
users :
- IgorMinar
- josephperrott
2020-01-28 15:52:49 -05:00
- kyliau
2020-01-16 11:39:09 -05:00
# =========================================================
# Language Service
# =========================================================
language-service :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/language-service/**' ,
'aio/content/guide/language-service.md' ,
2020-01-28 15:52:49 -05:00
'aio/content/images/guide/language-service/**'
] )
2020-01-16 11:39:09 -05:00
reviewers :
users :
- kyliau
2020-12-08 14:07:42 -05:00
- atscott
2021-03-30 18:33:52 -04:00
- zarend
2020-01-16 11:39:09 -05:00
# =========================================================
# zone.js
# =========================================================
zone-js :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
2019-12-07 09:30:53 -05:00
'packages/zone.js/**' ,
'aio/content/guide/zone.md'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- JiaLiPassion
2020-06-12 12:25:08 -04:00
# =========================================================
# in-memory-web-api
# =========================================================
in-memory-web-api :
conditions :
- *can-be-global-approved
- *can-be-global-docs-approved
- >
contains_any_globs(files, [
'packages/misc/angular-in-memory-web-api/**' ,
] )
reviewers :
users :
- IgorMinar
- crisbeto
2020-01-16 11:39:09 -05:00
# =========================================================
# Benchpress
# =========================================================
benchpress :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'packages/benchpress/**'
] )
reviewers :
users :
- alxhub
2020-06-05 18:10:13 -04:00
- josephperrott
2020-01-16 11:39:09 -05:00
# =========================================================
# Integration Tests
# =========================================================
integration-tests :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
2020-01-28 15:52:49 -05:00
'integration/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- IgorMinar
- josephperrott
2021-01-08 15:18:31 -05:00
# =========================================================
# Docs: Contributors
# =========================================================
docs-contributors :
<< : *defaults
conditions :
- *can-be-global-approved
- *can-be-global-docs-approved
- >
contains_any_globs(files, [
'aio/content/marketing/contributors.json' ,
'aio/content/images/bios/**' ,
] )
reviewers :
users :
- mgechev
- twerske
2020-01-16 11:39:09 -05:00
# =========================================================
# Docs: Gettings Started & Tutorial
# =========================================================
docs-getting-started-and-tutorial :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'aio/content/guide/setup-local.md' ,
'aio/content/images/guide/setup-local/**' ,
'aio/content/tutorial/**' ,
'aio/content/images/guide/toh/**' ,
'aio/content/examples/toh-pt0/**' ,
'aio/content/examples/toh-pt1/**' ,
'aio/content/examples/toh-pt2/**' ,
'aio/content/examples/toh-pt3/**' ,
'aio/content/examples/toh-pt4/**' ,
'aio/content/examples/toh-pt5/**' ,
'aio/content/examples/toh-pt6/**' ,
'aio/content/examples/getting-started-v0/**' ,
'aio/content/examples/getting-started/**' ,
'aio/content/start/**' ,
2021-02-08 13:45:18 -05:00
'aio/content/images/guide/start/**' ,
'aio/content/examples/what-is-angular/**' ,
'aio/content/guide/what-is-angular.md'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- aikidave
- IgorMinar
2021-03-15 20:50:12 -04:00
- jelbourn
2020-01-16 11:39:09 -05:00
# =========================================================
# Docs: Marketing
# =========================================================
docs-marketing :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
2021-01-08 15:18:31 -05:00
contains_any_globs(files.exclude("aio/content/marketing/contributors.json"), [
2020-08-04 13:47:29 -04:00
'aio/content/guide/roadmap.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/marketing/**' ,
'aio/content/images/marketing/**' ,
2020-01-27 05:51:17 -05:00
'aio/content/file-not-found.md' ,
'aio/content/license.md' ,
'aio/content/navigation.json'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
2020-05-08 12:25:24 -04:00
- aikidave
2020-01-16 11:39:09 -05:00
- IgorMinar
2021-01-11 15:55:40 -05:00
- mgechev
2020-01-16 11:39:09 -05:00
# =========================================================
# Docs: Observables
# =========================================================
docs-observables :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'aio/content/guide/observables.md' ,
'aio/content/examples/observables/**' ,
'aio/content/guide/comparing-observables.md' ,
2020-01-30 19:10:50 -05:00
'aio/content/examples/comparing-observables/**' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/observables-in-angular.md' ,
'aio/content/examples/observables-in-angular/**' ,
'aio/content/guide/practical-observable-usage.md' ,
'aio/content/examples/practical-observable-usage/**' ,
'aio/content/guide/rx-library.md' ,
2020-01-28 15:52:49 -05:00
'aio/content/examples/rx-library/**'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- alxhub
# =========================================================
# Docs: Packaging, Tooling, Releasing
# =========================================================
docs-packaging-and-releasing :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
2020-01-30 19:10:50 -05:00
'docs/PUBLIC_API.md' ,
'docs/RELEASE_SCHEDULE.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/npm-packages.md' ,
'aio/content/guide/browser-support.md' ,
'aio/content/guide/releases.md' ,
'aio/content/guide/updating.md' ,
'aio/content/guide/deprecations.md' ,
2021-04-27 01:38:23 -04:00
'aio/content/guide/migration-legacy-message-id.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/migration-renderer.md' ,
'aio/content/guide/migration-undecorated-classes.md' ,
'aio/content/guide/migration-dynamic-flag.md' ,
'aio/content/guide/migration-injectable.md' ,
'aio/content/guide/migration-localize.md' ,
'aio/content/guide/migration-module-with-providers.md' ,
'aio/content/guide/static-query-migration.md' ,
2021-04-08 13:58:41 -04:00
'aio/content/guide/updating-to-version-12.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/ivy-compatibility.md' ,
'aio/content/guide/ivy-compatibility-examples.md'
] )
reviewers :
users :
- IgorMinar
2020-06-05 18:10:13 -04:00
- jelbourn
2020-01-16 11:39:09 -05:00
2021-05-18 18:44:06 -04:00
# =========================================================
# Docs: Angular DevTools
# =========================================================
docs-devtools :
<< : *defaults
conditions :
- *can-be-global-approved
- *can-be-global-docs-approved
- >
contains_any_globs(files, [
'aio/content/guide/devtools.md' ,
'aio/content/images/guide/devtools/**'
] )
reviewers :
users :
- mgechev
- twerske
2020-01-16 11:39:09 -05:00
2020-06-05 19:27:53 -04:00
# =========================================================
# Tooling: Compiler API shared with Angular CLI
#
# Changing this API might break Angular CLI, so we require
# the CLI team to approve changes here.
# =========================================================
tooling-cli-shared-api :
conditions :
- *can-be-global-approved
- *can-be-global-docs-approved
- >
contains_any_globs(files, [
'packages/compiler-cli/src/tooling.ts'
] )
reviewers :
users :
- alan-agius4
- clydin
- kyliau
- IgorMinar
reviews :
2021-05-14 13:54:35 -04:00
request : -1 # request reviews from everyone
required : 2 # require at least 2 approvals
2020-06-05 19:27:53 -04:00
reviewed_for : required
2020-01-16 11:39:09 -05:00
# =========================================================
# Docs: CLI
# =========================================================
docs-cli :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
2020-01-27 05:51:17 -05:00
'aio/content/cli/**' ,
2020-01-28 15:52:49 -05:00
'aio/content/guide/typescript-configuration.md' ,
'aio/content/examples/setup/**' ,
'aio/content/guide/build.md' ,
'aio/content/images/guide/build/**' ,
'aio/content/guide/cli-builder.md' ,
'aio/content/examples/cli-builder/**' ,
'aio/content/guide/deployment.md' ,
'aio/content/images/guide/deployment/**' ,
'aio/content/guide/file-structure.md' ,
'aio/content/guide/ivy.md' ,
2020-06-22 20:15:10 -04:00
'aio/content/guide/strict-mode.md' ,
2020-04-16 14:12:25 -04:00
'aio/content/guide/web-worker.md' ,
2020-01-28 15:52:49 -05:00
'aio/content/guide/workspace-config.md' ,
2020-06-08 21:41:50 -04:00
'aio/content/guide/migration-solution-style-tsconfig.md' ,
2020-06-03 22:12:59 -04:00
'aio/content/guide/migration-update-module-and-target-compiler-options.md' ,
2020-06-02 14:37:27 -04:00
'aio/content/guide/migration-update-libraries-tslib.md' ,
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
2020-10-27 09:22:31 -04:00
- alan-agius4
2020-01-16 11:39:09 -05:00
- clydin
- IgorMinar
- mgechev
# =========================================================
# Docs: CLI Libraries
# =========================================================
docs-libraries :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'aio/content/guide/creating-libraries.md' ,
'aio/content/guide/libraries.md' ,
'aio/content/guide/using-libraries.md'
] )
reviewers :
users :
- alan-agius4
- IgorMinar
- mgechev
# =========================================================
# Docs: Schematics
# =========================================================
docs-schematics :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'aio/content/guide/schematics.md' ,
'aio/content/guide/schematics-authoring.md' ,
'aio/content/guide/schematics-for-libraries.md' ,
'aio/content/images/guide/schematics/**' ,
'aio/content/examples/schematics-for-libraries/**'
] )
reviewers :
users :
- alan-agius4
- IgorMinar
- mgechev
# =========================================================
# Docs-infra
# =========================================================
docs-infra :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
- *can-be-global-docs-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'aio/*' ,
'aio/aio-builds-setup/**' ,
2020-01-27 05:51:17 -05:00
'aio/content/cli-src/**' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/*' ,
'aio/scripts/**' ,
'aio/src/**' ,
'aio/tests/**' ,
'aio/tools/**' ,
2021-03-02 19:05:34 -05:00
'aio/content/images/guide/contributors-guide/**' ,
'aio/content/guide/contributors-guide-overview.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/docs-style-guide.md' ,
'aio/content/examples/docs-style-guide/**' ,
'aio/content/images/guide/docs-style-guide/**' ,
2021-03-17 14:46:56 -04:00
'aio/content/guide/reviewing-content.md' ,
'aio/content/guide/updating-content-github-ui.md' ,
'aio/content/guide/updating-search-keywords.md' ,
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
- gkalpak
- IgorMinar
- petebacondarwin
# =========================================================
# Dev-infra
# =========================================================
dev-infra :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
2020-01-16 11:39:09 -05:00
- >
2021-03-30 14:38:09 -04:00
contains_any_globs(files, [
2020-01-16 11:39:09 -05:00
'*' ,
'.circleci/**' ,
'.devcontainer/**' ,
'.github/**' ,
2020-11-18 11:49:56 -05:00
'.husky/**' ,
2020-05-15 17:19:08 -04:00
'.ng-dev/**' ,
2020-01-16 11:39:09 -05:00
'.vscode/**' ,
2020-01-28 15:52:49 -05:00
'.yarn/**' ,
2020-03-04 12:42:45 -05:00
'dev-infra/**' ,
2020-12-01 21:46:55 -05:00
'docs/*.md' ,
2019-08-09 13:15:27 -04:00
'docs/images/**' ,
2020-02-26 12:09:35 -05:00
'goldens/*' ,
2020-01-30 19:10:50 -05:00
'modules/*' ,
2020-01-16 11:39:09 -05:00
'packages/*' ,
'packages/examples/test-utils/**' ,
'packages/private/**' ,
2020-01-30 19:10:50 -05:00
'packages/examples/*' ,
2020-01-16 11:39:09 -05:00
'scripts/**' ,
'third_party/**' ,
'tools/build/**' ,
2020-01-28 15:52:49 -05:00
'tools/circular_dependency_test/**' ,
2020-03-03 13:16:18 -05:00
'tools/contributing-stats/**' ,
2020-01-16 11:39:09 -05:00
'tools/gulp-tasks/**' ,
'tools/npm/**' ,
2020-02-04 14:45:40 -05:00
'tools/npm_integration_test/**' ,
2020-01-16 11:39:09 -05:00
'tools/rxjs/**' ,
2020-01-28 15:52:49 -05:00
'tools/saucelabs/**' ,
2020-01-16 11:39:09 -05:00
'tools/size-tracking/**' ,
'tools/source-map-test/**' ,
'tools/symbol-extractor/**' ,
'tools/testing/**' ,
'tools/ts-api-guardian/**' ,
'tools/tslint/**' ,
2020-02-12 12:50:30 -05:00
'tools/utils/**' ,
2020-01-16 11:39:09 -05:00
'tools/yarn/**' ,
'tools/*' ,
2021-03-30 14:38:09 -04:00
'**/*.bzl'
2020-01-16 11:39:09 -05:00
] )
reviewers :
users :
2021-03-26 15:34:34 -04:00
- devversion
2020-01-16 11:39:09 -05:00
- filipesilva
- gkalpak
- IgorMinar
- josephperrott
# =========================================================
# Public API
# =========================================================
public-api :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-07-27 20:15:42 -04:00
- *no-groups-above-this-pending
- *no-groups-above-this-rejected
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
2020-02-26 12:09:35 -05:00
'goldens/public-api/**' ,
2020-01-30 19:10:50 -05:00
'docs/NAMING.md' ,
2021-01-05 13:50:23 -05:00
'aio/content/errors/*.md' ,
2020-01-16 11:39:09 -05:00
'aio/content/guide/glossary.md' ,
'aio/content/guide/styleguide.md' ,
2021-02-10 12:51:42 -05:00
'aio/content/examples/errors/**' ,
2020-01-16 11:39:09 -05:00
'aio/content/examples/styleguide/**' ,
'aio/content/images/guide/styleguide/*'
] )
reviewers :
users :
2020-07-21 21:43:05 -04:00
- AndrewKushnir
2020-01-16 11:39:09 -05:00
- IgorMinar
2020-07-15 14:47:26 -04:00
- alxhub
2020-07-21 21:43:05 -04:00
- atscott
2020-06-05 18:10:13 -04:00
- jelbourn
2020-07-15 14:47:26 -04:00
- petebacondarwin
2020-12-17 13:37:32 -05:00
- jessicajaniuk
2021-04-27 12:42:43 -04:00
- zarend
2020-09-28 15:22:26 -04:00
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-06-05 18:10:13 -04:00
reviews :
2020-07-21 21:43:05 -04:00
request : 4 # Request reviews from four people
required : 3 # Require that three people approve
2020-06-05 18:10:13 -04:00
reviewed_for : required
2020-01-16 11:39:09 -05:00
# ================================================
# Size tracking
# ================================================
size-tracking :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-07-27 20:15:42 -04:00
- *no-groups-above-this-pending
- *no-groups-above-this-rejected
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
2020-04-06 12:42:02 -04:00
'goldens/size-tracking/**'
2020-01-28 15:52:49 -05:00
] )
2020-01-16 11:39:09 -05:00
reviewers :
users :
2020-07-21 21:43:05 -04:00
- AndrewKushnir
2020-01-16 11:39:09 -05:00
- IgorMinar
2020-07-15 14:47:26 -04:00
- alxhub
2020-07-21 21:43:05 -04:00
- atscott
2020-06-05 18:10:13 -04:00
- jelbourn
2020-07-15 14:47:26 -04:00
- petebacondarwin
2020-12-17 13:37:32 -05:00
- jessicajaniuk
2021-04-27 12:42:43 -04:00
- zarend
2020-09-28 15:22:26 -04:00
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-06-05 18:10:13 -04:00
reviews :
2020-07-21 21:43:05 -04:00
request : 4 # Request reviews from four people
required : 2 # Require that two people approve
2020-06-05 18:10:13 -04:00
reviewed_for : required
2020-01-16 11:39:09 -05:00
2020-02-24 06:08:24 -05:00
# ================================================
# Circular dependencies
# ================================================
circular-dependencies :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-02-24 06:08:24 -05:00
conditions :
2020-07-27 20:15:42 -04:00
- *no-groups-above-this-pending
- *no-groups-above-this-rejected
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
2020-02-24 06:08:24 -05:00
- >
contains_any_globs(files, [
2020-04-14 16:37:54 -04:00
'goldens/circular-deps/packages.json'
2020-02-24 06:08:24 -05:00
] )
reviewers :
users :
2020-07-21 21:43:05 -04:00
- AndrewKushnir
2020-02-24 06:08:24 -05:00
- IgorMinar
2020-07-21 21:43:05 -04:00
- alxhub
- atscott
2020-06-05 18:10:13 -04:00
- jelbourn
2020-07-15 14:47:26 -04:00
- petebacondarwin
2020-12-17 13:37:32 -05:00
- jessicajaniuk
2021-04-27 12:42:43 -04:00
- zarend
2020-09-28 15:22:26 -04:00
# OOO as of 2020-09-28 - pkozlowski-opensource
2020-02-24 06:08:24 -05:00
2021-05-14 13:54:35 -04:00
####################################################################################
# Special Cases
####################################################################################
2020-01-16 11:39:09 -05:00
# =========================================================
# Code Ownership
# =========================================================
code-ownership :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-01-16 11:39:09 -05:00
conditions :
2020-03-30 11:25:39 -04:00
- *can-be-global-approved
2020-01-16 11:39:09 -05:00
- >
contains_any_globs(files, [
'.pullapprove.yml'
] )
reviewers :
users :
2020-07-21 21:43:05 -04:00
- AndrewKushnir
2020-01-16 11:39:09 -05:00
- IgorMinar
2020-07-21 21:43:05 -04:00
- alxhub
- atscott
2020-07-15 14:47:26 -04:00
- jelbourn
- josephperrott
2020-01-16 11:39:09 -05:00
# ====================================================
# Catch all for if no groups match the code change
# ====================================================
fallback :
2020-05-04 11:20:24 -04:00
<< : *defaults
2020-04-06 14:03:40 -04:00
# A group is considered to be `active` for a PR if at least one of group's
# conditions matches the PR.
#
# The PullApprove CI check should fail if a PR has no `active` groups, as
# this indicates the PR is modifying a file that has no owner.
#
# This is enforced through the pullapprove verification check done
# as part of the CircleCI lint job. Failures in this lint job should be
# fixed as part of the PR. This can be done by updating the
# `.pullapprove.yml` file cover the unmatched path.
# The pullapprove verification script is part of the ng-dev tool and can be
# run locally with the command: `yarn -s ng-dev pullapprove verify`
#
# For cases in which the verification check fails to ensure coverage, this
# group will be active. The expectation is that this should be remedied
# before merging the PR as described above. In an emergency situation
# `global-approvers` can still approve PRs that match this `fallback` rule,
# but that should be an exception and not an expectation.
2020-01-16 11:39:09 -05:00
conditions :
2020-06-27 15:47:54 -04:00
- *no-groups-above-this-active
2020-06-18 11:30:42 -04:00
# When any of the `global-*` groups is approved, they cause other groups to deactivate.
# In those cases, the condition above would evaluate to `true` while in reality, only a global
# approval has been provided. To ensure we don't activate the fallback group in such cases,
# ensure that no explicit global approval has been provided.
- *can-be-global-approved
- *can-be-global-docs-approved