-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add --reviewers
to av pr create
#213
feat: Add --reviewers
to av pr create
#213
Conversation
Current Aviator status
This PR was merged using Aviator. See the real-time status of this PR on the Aviator webapp. Use the Aviator Chrome Extension to see the status of your PR within GitHub.
|
1e07ca3
to
7f508a0
Compare
|
||
// Do this after creating the PR and committing the transaction so that | ||
// our local database is up-to-date even if this fails. | ||
if len(prCreateFlags.Reviewers) > 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't GH allow passing reviewers as part of creating the PR? I wonder if it does, would the behavior be different to do this in two separate steps. Would GH assign some default reviewers still
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't GH allow passing reviewers as part of creating the PR?
The create pull request API (mutation createPullRequest
) does not have a way to assign reviewers (nor does the updatePullRequest
mutation).
Co-authored-by: Ankit Jain <[email protected]>
No description provided.