diff --git a/edx_repo_tools/repo_checks/repo_checks.py b/edx_repo_tools/repo_checks/repo_checks.py index 2ae04adc..8b87a81b 100644 --- a/edx_repo_tools/repo_checks/repo_checks.py +++ b/edx_repo_tools/repo_checks/repo_checks.py @@ -817,6 +817,22 @@ def is_relevant(self): return is_public(self.api, self.org_name, self.repo_name) +@Check.register +class MaintainersAtLargeTeam(TeamAccess): + """ + Ensure that the committers-maintainers-at-large team grants Push access to every public repo in the org. + """ + + def __init__(self, api, org, repo): + team = "committers-maintainers-at-large" + permission = "push" + super().__init__(api, org, repo, team, permission) + + def is_relevant(self): + # Need to be a public repo. + return is_public(self.api, self.org_name, self.repo_name) + + @Check.register class EnforceCLA(Check): """