turbot/github_sherlock
Loading controls...

Control: Issues should have labels applied

Description

Labels help organize issues and provide users with more context.

Usage

Run the control in your terminal:

powerpipe control run github_sherlock.control.issue_has_labels

Snapshot and share results via Turbot Pipes:

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

Steampipe Tables

SQL

select
i.url as resource,
case
when i.labels_total_count > 0 then 'ok'
else 'alarm'
end as status,
'#' || i.number || ' ' || i.title || ' has ' || i.labels_total_count || ' label(s).' as reason,
i.repository_full_name
from
github_my_repository as r
left join github_issue as i on r.name_with_owner = i.repository_full_name
where
r.is_fork = false
and i.state = 'OPEN'

Tags