angular-docs-cn/dev-infra/pr/merge
Paul Gschwendtner 3ee666580a fix(dev-infra): merge script should not always require full repo permissions (#37718)
We recently added OAuth scope checking to the dev-infra Git client
and started leveraging it for the merge script. We set the `repo` scope
as required for running the merge script. We can loosen this requirement
as in the Angular org where the script is consumed, only pull requests on
public repositories are merged through the script.

This should help with reducing the risk with compromised tokens as no
access had to be granted on `repo:invite`, `repo_deployment` etc.

PR Close #37718
2020-06-26 09:52:33 -07:00
..
strategies fix(dev-infra): support running scripts from within a detached head (#37737) 2020-06-26 09:51:09 -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 for caretaker note label in merge script (#37595) 2020-06-16 11:58:55 -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): support for caretaker note label in merge script (#37595) 2020-06-16 11:58:55 -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 refactor(dev-infra): migrate github api in GitClient to rely on GithubClient (#37593) 2020-06-22 10:54:43 -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): move merge script over from components repo (#37138) 2020-05-18 11:50:07 -07:00
task.ts fix(dev-infra): merge script should not always require full repo permissions (#37718) 2020-06-26 09:52:33 -07:00