slash-command-action
slash-command-action copied to clipboard
Support for collaborator roles
The Triage
and Maintain
roles need to be added. It looks like these aren't returned from the rest api, so this call will need to be switched to graphql.
Hi @xt0rted
It seems like there has been some Github API changes recently, and the REST API has now started returning these 2 roles as well. That currently makes the action fail in case a user is assigned to any of those 2 roles (even if the permission required by the action is lower than the user's one). I've opened https://github.com/xt0rted/slash-command-action/pull/669 to add these new collaborator roles, do you mind taking a look at it? Thanks!