gruntwork-io / git-xargs

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec
Apache License 2.0
933 stars 63 forks source link

Implement support for requesting reviewers #104

Closed zackproser closed 1 year ago

zackproser commented 1 year ago

Description

Closes #15.

These changes implement support for requesting reviews from GitHub users or GitHub teams when git-xargs opens pull requests on your behalf.

Two new flags are introduced for this purpose:

Note that there are some important limitations on the ability to request reviews, as noted here in the official GitHub guide.

Namely:

The ability to add multiple pull request reviewers or requests reviews from teams is available in public repositories with GitHub Free for organizations and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server, and GitHub Enterprise Cloud. For more information, see "GitHub's products."

That said, the --reviewers flag should generally work for GitHub free users.

TODOs

Read the Gruntwork contribution guidelines.

Release Notes (draft)

Introduce support for requesting reviewers when opening pull requests.

Migration Guide

zackproser commented 1 year ago

Thanks for review! Going to merge this in now.