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

Revert having allowed values for add_to_collaborators #2904

Closed
jodelasur opened this issue Feb 20, 2024 · 0 comments · Fixed by #2905
Closed

Revert having allowed values for add_to_collaborators #2904

jodelasur opened this issue Feb 20, 2024 · 0 comments · Fixed by #2905

Comments

@jodelasur
Copy link
Contributor

jodelasur commented Feb 20, 2024

We are currently having issues with v2.2.0 when using read and write as permission values for Repository.add_to_collaborators. With #1996, only specific permission values are accepted. While the docs do give a list of values for permission, it also says that we "can also specify a custom repository role name, if the owning organization has defined any".

image

https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28#add-a-repository-collaborator

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 a pull request may close this issue.

1 participant