angular-docs-cn/dev-infra/utils
Paul Gschwendtner f29fe5ced0 fix(dev-infra): use API pagination for retrieving project branches (#42666)
We rely on a Github API `/branches` request to determine the active
release trains. Currently this logic is broken if more than 100
protected branches exist within a repository. This issue surfaced
recently where the `items_per_page` setting was set to `30`, causing
the merge tooling and release tooling to not detect the proper "latest"
release train.

This commit uses Github pagination for retrieving branches to determine
the active release trains, and makes the logic more long-term proof.

PR Close #42666
2021-06-29 10:33:54 -07:00
..
git refactor(dev-infra): update octokit to latest version v18 (#42666) 2021-06-29 10:33:54 -07:00
testing fix(dev-infra): use API pagination for retrieving project branches (#42666) 2021-06-29 10:33:54 -07:00
BUILD.bazel refactor(dev-infra): update octokit to latest version v18 (#42666) 2021-06-29 10:33:54 -07:00
child-process.ts fix(dev-infra): spawned child processes messing with tty output (#41948) 2021-05-05 13:45:28 -07:00
config.ts refactor(dev-infra): improve type-safety of git client utility (#42468) 2021-06-03 14:34:33 -07:00
console.ts refactor(dev-infra): improve type-safety of git client utility (#42468) 2021-06-03 14:34:33 -07:00
dry-run.ts feat(dev-infra): prevent `git push` from being called in dryRun mode (#41387) 2021-04-05 08:57:13 -07:00
github.ts refactor(dev-infra): improve type-safety of git client utility (#42468) 2021-06-03 14:34:33 -07:00
inquirer-autocomplete-typings.d.ts feat(dev-infra): create a wizard for building commit messages (#38457) 2020-08-18 17:01:14 -07:00
shelljs.ts fix(dev-infra): incorrect token sanitization when no token is specified (#37489) 2020-06-09 08:27:31 -07:00
ts-node.ts style(dev-infra): correct tslint failures in dev-infra directory (#37233) 2020-06-04 12:44:46 -07:00