Skip to content
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

Document that reviewers can be teams #2465

Merged
merged 4 commits into from
Nov 26, 2020
Merged

Document that reviewers can be teams #2465

merged 4 commits into from
Nov 26, 2020

Conversation

MaxHorstmann
Copy link
Contributor

@MaxHorstmann MaxHorstmann commented Nov 23, 2020

Took me a while to figure out that when creating a PR via gh pr create, reviewers and assignees can be both individual users and also entire teams (confirmed in source).

This is a little different from the equivalent API endpoint, which has separate parameters reviewers and team_reviewers.

PR just seeks to document this a little better.

Releated Stack Overflow question

@vilmibm vilmibm self-requested a review November 24, 2020 00:47
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! 🎉

pkg/cmd/pr/create/create.go Outdated Show resolved Hide resolved
pkg/cmd/pr/create/create.go Outdated Show resolved Hide resolved
pkg/cmd/pr/create/create.go Outdated Show resolved Hide resolved
MaxHorstmann and others added 2 commits November 24, 2020 08:23
Co-authored-by: Mislav Marohnić <hi@mislav.net>
Co-authored-by: Mislav Marohnić <hi@mislav.net>
@MaxHorstmann MaxHorstmann changed the title Document that reviewers and assignees can be teams Document that reviewers can be teams Nov 24, 2020
@MaxHorstmann
Copy link
Contributor Author

@mislav thanks for the quick response! I addressed all your comments.

Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! Thank you 🙇

@mislav mislav merged commit 34d549e into cli:trunk Nov 26, 2020
@0149889949

This comment has been minimized.

@MaxHorstmann
Copy link
Contributor Author

I don't see any updates on gh pr create yet - does this need to get deployed to production?

@mislav
Copy link
Contributor

mislav commented Dec 1, 2020

@MaxHorstmann The documentation site will be automatically re-generated with the next release.

We don't re-generate the site from trunk between releases because we want to avoid accidentally publishing docs for un-released features.

@MaxHorstmann
Copy link
Contributor Author

MaxHorstmann commented Dec 1, 2020 via email

mislav added a commit that referenced this pull request Dec 2, 2020
Co-authored-by: Mislav Marohnić <mislav@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants