Created
April 15, 2023 00:38
-
-
Save honeyankit/7231afc604f9779d1793174181d630f1 to your computer and use it in GitHub Desktop.
graphQL-query
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 to get CI status of the repo using only repo.id |
Query to get the repo id:
# Type queries into this side of the screen, and you will
# see intelligent typeaheads aware of the current GraphQL type schema,
# live syntax, and validation errors highlighted within the text.
# We'll get you started with a simple query showing your username!
query {
repository(owner: "owner_name", name: "xyz") {
id
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used the below graphQL to query in the explorer the CI status using only repo.id