angular/dev-infra/pr/merge
Joey Perrott d9356f2842 feat(dev-infra): close pull requests on merge which do not target master branch (#39979)
Previously, when a PR which does not target the master branch in the Github UI was
merged it would not close automatically.  This change detects when this case occurs
and closes the PR via the Github API.

For example:

  A PR which targets the 11.0.x branch in the Github UI has the `target: patch` label

This PR is only pushed into the 11.0.x branch, which does not trigger Github's
reference based actions to close the PR.

PR Close #39979
2020-12-07 09:47:30 -08:00
..
defaults refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
strategies feat(dev-infra): close pull requests on merge which do not target master branch (#39979) 2020-12-07 09:47:30 -08:00
BUILD.bazel refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -07:00
cli.ts refactor(dev-infra): share more github code between commands (#38656) 2020-09-28 16:11:38 -04:00
config.ts feat(dev-infra): support user-failures when computing branches for target label (#38223) 2020-08-05 10:53:17 -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 refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -07:00
messages.ts feat(dev-infra): prompt caretaker to confirm the merge branches on merge (#39333) 2020-10-19 12:06:16 -07:00
pull-request.ts refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -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): provide organization-wide merge-tool label configuration (#38223) 2020-08-05 10:53:17 -07:00
task.ts refactor(dev-infra): create ng-dev executable locally in the repo (#39089) 2020-10-22 13:36:14 -07:00