-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow RemoveReviewers to remove only teams #3337
Allow RemoveReviewers to remove only teams #3337
Conversation
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.
Thank you, @nagl-resourcely!
One nit, otherwise LGTM.
Then we will be ready for a second LGTM+Approval from any other contributor to this repo before merging.
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Ty for expressing the nit as a diff =) |
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.
Thank you, @nagl-resourcely !
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3337 +/- ##
==========================================
- Coverage 97.72% 93.02% -4.71%
==========================================
Files 153 172 +19
Lines 13390 14860 +1470
==========================================
+ Hits 13085 13823 +738
- Misses 215 944 +729
- Partials 90 93 +3 ☔ View full report in Codecov by Sentry. |
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.
LGTM
Thank you, @tomfeigin ! |
What?
Fixes a JSON marshaling problem that causes spurious 422s when calling RemoveReviewrs with
TeamReviewers
but noReviewers
.Background
The github API requires
"reviewers"
. It permits"reviewers": []
but not"reviewers": null
. Try it:Testing?
There's a new unit test. Without the 2nd commit, it fails with: