angular-cn/dev-infra/release/publish
George Kalpakas 96dd78e0c6 fix(dev-infra): detect all commit message keywords that can close a PR (#39229)
Previously, the `isCommitClosingPullRequest()` method (used in
`ng-dev release` to detect whether a commit is closing a PR based on
keywords found in the commit message) was only able to detect a subset
of the keywords supported by GitHub.

This is fine currently, because the merge script adds `PR Close #XYZ`
when merging a PR, but it might break in the future.

This commit makes the code more robust by ensuring the method can detect
all keywords supported by GitHub for automatically closing a PR based on
a commit message.

Original discussion:
https://github.com/angular/angular/pull/39135#discussion_r503440973

PR Close #39229
2020-10-12 12:02:48 -07:00
..
actions refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
test refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
BUILD.bazel build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#39182) 2020-10-08 11:54:59 -07:00
actions-error.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
actions.ts refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
cli.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
commit-message.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
constants.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
external-commands.ts fix(dev-infra): fix error message in `invokeSetNpmDistCommand()` function (#39229) 2020-10-12 12:02:48 -07:00
graphql-queries.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
index.ts refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
pull-request-state.ts fix(dev-infra): detect all commit message keywords that can close a PR (#39229) 2020-10-12 12:02:48 -07:00
release-notes.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00