Created
June 9, 2019 16:34
-
-
Save PierreRochard/6b0c01c7aab7bcea87095c7e442b78a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($prNumber: Int = 15024){ | |
rateLimit { | |
limit | |
cost | |
remaining | |
resetAt | |
} | |
repository(owner: "bitcoin", name: "bitcoin") { | |
pullRequest(number: $prNumber) { | |
id | |
number | |
title | |
mergeable | |
labels(last: 100) { | |
totalCount | |
nodes { | |
id | |
name | |
color | |
} | |
} | |
projectCards(last: 100, archivedStates:[ARCHIVED, NOT_ARCHIVED]) { | |
totalCount | |
nodes { | |
id | |
column { | |
id | |
name | |
} | |
project { | |
id | |
number | |
state | |
} | |
createdAt | |
updatedAt | |
} | |
} | |
author { | |
login | |
url | |
avatarUrl | |
} | |
bodyHTML | |
additions | |
deletions | |
createdAt | |
updatedAt | |
mergedAt | |
closedAt | |
state | |
reviews(last: 100) { | |
totalCount | |
nodes { | |
id | |
publishedAt | |
author { | |
login | |
avatarUrl | |
} | |
body | |
url | |
} | |
} | |
comments(last: 100) { | |
totalCount | |
nodes { | |
id | |
publishedAt | |
author { | |
login | |
avatarUrl | |
} | |
body | |
url | |
} | |
} | |
commits(last: 1) { | |
totalCount | |
nodes { | |
commit { | |
oid | |
status { | |
state | |
contexts { | |
description | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment