in app_dart/lib/src/request_handlers/check_for_waiting_pull_requests_queries.dart [9:77]
query LabeledPullRequcodeestsWithReviews($sOwner: String!, $sName: String!, $sLabelName: String!) {
repository(owner: $sOwner, name: $sName) {
labels(first: 1, query: $sLabelName) {
nodes {
id
pullRequests(first: 20, states: OPEN, orderBy: {direction: ASC, field: CREATED_AT}) {
nodes {
author {
login
}
authorAssociation
id
baseRepository {
nameWithOwner
}
number
title
mergeable
commits(last:1) {
nodes {
commit {
abbreviatedOid
oid
committedDate
pushedDate
status {
contexts {
context
state
targetUrl
}
}
# (appId: 64368) == flutter-dashbord. We only care about
# flutter-dashboard checks.
checkSuites(last:1, filterBy: { appId: 64368 } ) {
nodes {
checkRuns(first:100) {
nodes {
name
status
conclusion
detailsUrl
}
}
}
}
}
}
}
reviews(first: 5, states: [APPROVED, CHANGES_REQUESTED]) {
nodes {
author {
login
}
authorAssociation
state
}
}
labels(first: 5) {
nodes {
name
}
}
}
}
}
}
}
}''');