-
Notifications
You must be signed in to change notification settings - Fork 776
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
Fix problem with pr #303, adding "maintain" and "triage" for repo collaborators #421
Conversation
@romaninsh @jcudit updating the |
@anGie44 - I tried to find a way to update the test, but couldn't figure it out. Could you give some example how to do it? |
hi @romaninsh, sure thing! (@jcudit can you weigh in here as well for best practice when updating test cases?) so in
*This of course has the side-effect that the method |
The boilerplate referenced above is a good starting point. For more context, the function changing, Take a look at this similar test logic to get an idea of how this was approached previously. |
hi @romaninsh, thanks again for this contribution and bug fix! closing this PR as the continuation of the implementation now lives in #457. please reach out with any questions or concerns if they arise :) |
Due to type validation in previous PR #303 did not enable new roles for collaborators (only for teams) as per https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator collaborators can also be "maintain" and "triage":
This PR updates role validation and also updates documentation for repository_collaborator.
More info: https://github.com/terraform-providers/terraform-provider-github/pull/303#issuecomment-610409485
(my first contribution!)