turbot/github_sherlock
Loading controls...

Control: Topics should be set in each public repository

Description

Topics should be set to help others find and contribute to the project.

Usage

Run the control in your terminal:

powerpipe control run github_sherlock.control.public_repo_topics_set

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run github_sherlock.control.public_repo_topics_set --share

Steampipe Tables

SQL

select
url as resource,
case
when repository_topics_total_count > 0 then 'ok'
else 'alarm'
end as status,
name_with_owner || ' has ' || repository_topics_total_count || ' topic(s).' as reason,
name_with_owner
from
github_my_repository
where
visibility = 'PUBLIC'
and is_fork = false

Tags