Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/pulls/review-requests?apiVersion=2022-11-28#request-reviewers-for-a-pull-request
What part(s) of the article would you like to see updated?
The "The fine-grained token must have the following permission set" section should be updated to mentioned that you need the "Members" organization permission (read) in order to add a team as a reviewer.
This is especially important, since it means a GitHub action (without PAT or a GitHub app, just GITHUB_TOKEN) will not be able to add a team as PR reviewer, even if the "Pull requests" repository permissions (write) is given.
Additional information
cli/cli#10948 (comment)
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/pulls/review-requests?apiVersion=2022-11-28#request-reviewers-for-a-pull-request
What part(s) of the article would you like to see updated?
The "The fine-grained token must have the following permission set" section should be updated to mentioned that you need the "Members" organization permission (read) in order to add a team as a reviewer.
This is especially important, since it means a GitHub action (without PAT or a GitHub app, just GITHUB_TOKEN) will not be able to add a team as PR reviewer, even if the "Pull requests" repository permissions (write) is given.
Additional information
cli/cli#10948 (comment)