Skip to content

Commit 7902037

Browse files
committed
add issue created summary
1 parent 22893de commit 7902037

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

sql/metrics/issue-summary.sql

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This query generates a monthly summary of issues created.
3+
*/
4+
SELECT
5+
month(i.created_at) as month,
6+
year(i.created_at) as year,
7+
count(i.created_at) as issues
8+
FROM
9+
github_enterprise.issues i
10+
GROUP BY
11+
month,
12+
year
13+
ORDER BY
14+
year,
15+
month

sql/security/active-repo-report.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* repositories pushed to in the past 90 days. It also returns who owns it and
44
* further details on the exact vulnerability.
55
*
6-
* If you comment line 34, it will both root and fork repositories. As is,
6+
* If you comment line 32, it will both root and fork repositories. As is,
77
* it will only report root repos.
88
*/
99
SELECT

0 commit comments

Comments
 (0)