turbot/github_insights

Query: open_pull_request_count

Usage

powerpipe query github_insights.query.open_pull_request_count

SQL

select
count(*) as value,
'Open PRs' as label
from
github_my_repository r
join github_pull_request p on p.repository_full_name = r.name_with_owner
where
p.state = 'OPEN';

Dashboards

The query is used in the dashboards: