angular-cn/dev-infra/pr/merge
Paul Gschwendtner 6f0f0d3ea2 feat(dev-infra): support user-failures when computing branches for target label (#38223)
The merge tool provides a way for configurations to determine the branches
for a label lazily. This is supported because it allows labels to respect
the currently selected base branch through the Github UI. e.g. if `target: label`
is applied on a PR and the PR is based on the patch branch, then the change
could only go into the selected target branch, while if it would be based on
`master`, the change would be cherry-picked to `master` too. This allows for
convenient back-porting of changes if they did not apply cleanly to the primary
development branch (`master`).

We want to expand this function so that it is possible to report failures if an
invalid target label is appplied (e.g. `target: major` not allowed in
some situations), or if the Github base branch is not valid for the given target
label (e.g. if `target: lts` is used, but it's not based on a LTS branch).

PR Close #38223
2020-08-05 10:53:17 -07:00
..
strategies feat(dev-infra): merge script should link to original commit when cherry-picking with API strategy (#37889) 2020-07-07 12:16:21 -07:00
BUILD.bazel feat(dev-infra): expose script for determining merge branches (#37217) 2020-05-21 10:35:23 -07:00
cli.ts style(dev-infra): correct tslint failures in dev-infra directory (#37233) 2020-06-04 12:44:46 -07:00
config.ts feat(dev-infra): support user-failures when computing branches for target label (#38223) 2020-08-05 10:53:17 -07:00
determine-merge-branches.ts feat(dev-infra): expose script for determining merge branches (#37217) 2020-05-21 10:35:23 -07:00
failures.ts feat(dev-infra): Add oauth scope check to ensure necessary permissions for merge tooling (#37421) 2020-06-04 09:35:59 -07:00
index.ts feat(dev-infra): provide github API instance to lazy merge configuration (#38223) 2020-08-05 10:53:17 -07:00
messages.ts feat(dev-infra): support for caretaker note label in merge script (#37595) 2020-06-16 11:58:55 -07:00
pull-request.ts feat(dev-infra): support user-failures when computing branches for target label (#38223) 2020-08-05 10:53:17 -07:00
string-pattern.ts feat(dev-infra): move merge script over from components repo (#37138) 2020-05-18 11:50:07 -07:00
target-label.ts feat(dev-infra): support user-failures when computing branches for target label (#38223) 2020-08-05 10:53:17 -07:00
task.ts feat(dev-infra): provide github API instance to lazy merge configuration (#38223) 2020-08-05 10:53:17 -07:00