Allow RemoveReviewers to remove only teams#3337
Merged
gmlewis merged 3 commits intogoogle:masterfrom Oct 27, 2024
nagl-resourcely:allow-removing-only-teams
Merged
Allow RemoveReviewers to remove only teams#3337gmlewis merged 3 commits intogoogle:masterfrom nagl-resourcely:allow-removing-only-teams
gmlewis merged 3 commits intogoogle:masterfrom
nagl-resourcely:allow-removing-only-teams
Conversation
gmlewis
requested changes
Oct 26, 2024
Collaborator
gmlewis
left a comment
There was a problem hiding this comment.
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>
Contributor
Author
|
Ty for expressing the nit as a diff =) |
gmlewis
approved these changes
Oct 26, 2024
Collaborator
gmlewis
left a comment
There was a problem hiding this comment.
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. |
Collaborator
|
Thank you, @tomfeigin ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Fixes a JSON marshaling problem that causes spurious 422s when calling RemoveReviewrs with
TeamReviewersbut 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: