angular-docs-cn/dev-infra
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
..
bazel fix(dev-infra): add missing BUILD file to dev-infra/bazel:files (#38026) 2020-07-15 12:34:46 -07:00
benchmark feat(dev-infra): add bazel firefox browser with RBE compatibility (#38029) 2020-07-15 12:34:05 -07:00
browsers feat(dev-infra): add bazel firefox browser with RBE compatibility (#38029) 2020-07-15 12:34:05 -07:00
commit-message feat(dev-infra): commit message validation should skip lines consisting of URLs (#37890) 2020-07-10 10:59:28 -07:00
format build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
pr feat(dev-infra): support user-failures when computing branches for target label (#38223) 2020-08-05 10:53:17 -07:00
pullapprove fix(dev-infra): Ensure conditions with groups do not fail verification (#37798) 2020-07-24 17:59:39 -07:00
release refactor(dev-infra): use the `exec()` helper from `utils/shelljs` whenever possible (#37444) 2020-06-05 09:21:18 -07:00
ts-circular-dependencies style(dev-infra): correct tslint failures in dev-infra directory (#37233) 2020-06-04 12:44:46 -07:00
utils feat(dev-infra): provide github API instance to lazy merge configuration (#38223) 2020-08-05 10:53:17 -07:00
BUILD.bazel fix(dev-infra): fix broken zone.js substitution for dev-infra:npm_package (#38026) 2020-07-15 12:34:46 -07:00
cli.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
index.bzl refactor(dev-infra): allow for consumption with rules_nodejs v2.0.0 (#37968) 2020-07-13 14:18:22 -07:00
ng-dev build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tmpl-package.json refactor(dev-infra): migrate github api in GitClient to rely on GithubClient (#37593) 2020-06-22 10:54:43 -07:00