Closed farhan closed 3 months ago
@feanil Thanks for flagging the concern
I initially thought api is not returning the list of outside collaborators as no relevant data is available in the response but we can add filter. So task is done in a simple way.
Adds check to ensure org doesn't have any outside collaborator
Ticket: https://github.com/openedx/public-engineering/issues/169
Git api used to add check: https://docs.github.com/en/rest/orgs/outside-collaborators?apiVersion=2022-11-28
Use following command to test: