Add discussions sensors to GitHub (#66937)
This commit is contained in:
parent
2d52aca9eb
commit
5b28e2d983
3 changed files with 39 additions and 0 deletions
|
@ -39,6 +39,17 @@ query ($owner: String!, $repository: String!) {
|
|||
watchers(first: 1) {
|
||||
total: totalCount
|
||||
}
|
||||
discussion: discussions(
|
||||
first: 1
|
||||
orderBy: {field: CREATED_AT, direction: DESC}
|
||||
) {
|
||||
total: totalCount
|
||||
discussions: nodes {
|
||||
title
|
||||
url
|
||||
number
|
||||
}
|
||||
}
|
||||
issue: issues(
|
||||
first: 1
|
||||
states: OPEN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue