openedx / repo-tools

Tools for repo maintenance, etc.
Apache License 2.0
30 stars 39 forks source link

Adds check 'Users should not have direct repo access' #513

Closed farhan closed 3 months ago

farhan commented 3 months ago

Ticket: https://github.com/openedx/repo-tools/issues/407

Git api doc:

https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repository-contributors

Description

Adds check 'Users should not have direct repo access'

How to test:

Run the following repo_checks command to test the checks.

 repo_checks \
--org ORGANIZATION \
--repo REPO