Caretaker is responsible for merging PRs into the individual branches and internally at Google.
- Draining the queue of PRs ready to be merged. (PRs with
action: merge
label) - Assigning new issues to individual component authors.
A PR needs to have action: merge
and target: *
labels to be considered
ready to merge. Merging is performed by running ng-dev pr merge
with a PR number to merge.
The tooling automatically verifies the given PR is ready for merge. If the PR passes the tests, the tool will automatically merge it based on the applied target label.
To merge a PR run:
$ yarn ng-dev pr merge <pr number>
The ng-dev pr merge
tool will automatically restore to the previous git state when a merge fails.