-
Notifications
You must be signed in to change notification settings - Fork 10
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Request a team review #3
Comments
According to https://octokit.github.io/rest.js/v18#pulls-request-reviewers, |
I got the same mistake |
@g1stavo just a doc typo |
For anyone else that ends up here. The above suggestions to do org/team does not fix the issue for me, it should be team by itself as the README says. Instead what fixed this for me is to set up a PAT as is recommended (and required for assigning to teams) in the docs and using that instead of the default GITHUB_TOKEN For context I am using it for teams within an organization where the repos are private. I do not know if this perhaps functions more along the lines of what is mentioned above if you are outside of an org setting these up? |
Thanks @808sAndBR, indeed that's it. You need to use a personal access token with the There's a link on the README explaining why: peter-evans/create-pull-request#155 (comment) 😅 |
Hi,
First, thanks for this github action. Very useful.
I have however an issue when trying to request review from a team.
I can see the following stacktrace in actions logs
PR assignment works well
Regards,
The text was updated successfully, but these errors were encountered: