Control: Default branch requires pull request reviews before merging in each public repository
Pull request reviews help improve quality of commits into the default branch.
steampipe check github_sherlock.control.public_repo_default_branch_requires_pull_request_reviews
Plugins & Tables
selectr.full_name as resource,casewhen b.required_pull_request_reviews is not null then 'ok'else 'alarm'end as status,r.full_name || ' default branch ' || b.name || case when(b.required_pull_request_reviews is not null) then ' requires ' else ' does not require ' end || 'pull request reviews.' as reason,r.full_namefromgithub_my_repository as rleft join github_branch_protection as b on r.full_name = b.repository_full_namewherevisibility = 'public' and r.fork = false and b.name in ('main', 'master')