Control: Pull request template should be added in each public repository
Description
Adding a pull request template provides a consistent format for contributors' pull requests.
Usage
Run the control in your terminal:
powerpipe control run github_sherlock.control.public_repo_pull_request_template_added
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run github_sherlock.control.public_repo_pull_request_template_added --share
Steampipe Tables
SQL
select url as resource, case when pull_request_templates <> '[]' then 'ok' else 'alarm' end as status, name_with_owner || case when (pull_request_templates <> '[]') then ' has a ' else ' has no ' end || 'pull request template.' as reason, name_with_ownerfrom github_my_repositorywhere visibility = 'PUBLIC' and is_fork = false