Last active
March 22, 2022 21:05
-
-
Save malfet/b9c4be4e775165821722ecfb2efaea57 to your computer and use it in GitHub Desktop.
GQL to query annotations
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
{ | |
repository(name: "pytorch", owner: "pytorch") { | |
object(oid: "7dd08230117f4fa8bb82b3524e90fb00340198c7") { | |
... on Commit { | |
checkSuites(first: 100, filterBy: {appId: 15368}) { | |
nodes { | |
workflowRun { | |
workflow { | |
name | |
} | |
} | |
checkRuns( | |
first: 100 | |
filterBy: {checkName: "macos-11-py3-x86-64 / test (default, 1, 2, macos-11)"} | |
) { | |
nodes { | |
name | |
conclusion | |
annotations(first: 10) { | |
nodes { | |
annotationLevel | |
message | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment