Loading controls...
Control: Contributing guidelines should be added in each public repository
Description
Adding a contributing guideline defines standards for how the community should contribute to the project.
Usage
Run the control in your terminal:
steampipe check github_sherlock.control.public_repo_contributing_added
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share github_sherlock.control.public_repo_contributing_added
Plugins & Tables
SQL
select r.url as resource, case when p.contributing is not null then 'ok' else 'alarm' end as status, r.name_with_owner || case when (p.contributing is not null) then ' has ' else ' has no ' end || 'contributing guidelines.' as reason, r.name_with_ownerfrom github_my_repository as r left join github_community_profile as p on r.name_with_owner = p.repository_full_namewhere visibility = 'PUBLIC' and r.is_fork = false