diff --git a/.ng-dev/caretaker.ts b/.ng-dev/caretaker.ts new file mode 100644 index 000000000000..4feac7d530f5 --- /dev/null +++ b/.ng-dev/caretaker.ts @@ -0,0 +1,16 @@ +import { CaretakerConfig } from '@angular/dev-infra-private/ng-dev'; + +/** The configuration for `ng-dev caretaker` commands. */ +export const caretaker: CaretakerConfig = { + githubQueries: [ + { + name: 'Merge Queue', + query: `is:pr is:open status:success label:"action: merge"`, + }, + { + name: 'Merge Assistance Queue', + query: `is:pr is:open label:"action: merge-assistance"`, + }, + ], + caretakerGroup: 'angular-cli-caretaker', +}; diff --git a/.ng-dev/config.ts b/.ng-dev/config.ts index ea2fc26105a8..681ebe8b510f 100644 --- a/.ng-dev/config.ts +++ b/.ng-dev/config.ts @@ -3,3 +3,4 @@ export { format } from './format'; export { github } from './github'; export { pullRequest } from './pull-request'; export { release } from './release'; +export { caretaker } from './caretaker'; diff --git a/docs/process/release.md b/docs/process/release.md index bddd2039e310..0bb9244b62ec 100644 --- a/docs/process/release.md +++ b/docs/process/release.md @@ -23,6 +23,15 @@ for the release. Primary-secondary pairs are as follows: | Charles | Keen | | Filipe | Joey | +At the end of each caretaker's rotation, they should peform a handoff in which they provide +information to the next caretaker about the current state of the repository and update the +access group to now include the next caretaker and their secondary. To perform this update +to the access group, the caretaker can run: + +```bash +$ yarn ng-dev caretaker handoff +``` + ## Merging PRs The list of PRs which are currently ready to merge (approved with passing status checks) can