Last active
December 6, 2022 22:26
-
-
Save wraithgar/90c41733170578b8aa21ed08cb9fdd9b to your computer and use it in GitHub Desktop.
graphql dependabot open issues query
This file contains hidden or 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 { | |
search (query: "org:npm topic:npm-cli", type: REPOSITORY, first:100) { | |
nodes { | |
... on Repository { | |
nameWithOwner | |
pullRequests (labels: ["autorelease: pending"], first:100, states: [OPEN]) { | |
nodes { | |
number | |
url | |
title | |
} | |
} | |
} | |
} | |
} | |
} |
This file contains hidden or 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 { | |
search (query: "org:npm topic:npm-cli", type: REPOSITORY, first:100) { | |
nodes { | |
... on Repository { | |
nameWithOwner | |
pullRequests (labels: ["dependencies"], first:100, states: [OPEN]) { | |
nodes { | |
number | |
url | |
title | |
} | |
} | |
} | |
} | |
} | |
} |
gh alias set autoreleases "api "/graphql" -F query=@/Users/wraithgar/Development/graphql/npm-cli-autorelease-prs.graphql --jq '.data.search.nodes[]|{ name: .nameWithOwner, pr: .pullRequests.nodes[]}|\"\(.name)\t\(.pr.number)\t\(.pr.title)\"'"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gh alias set dependabot "api "/graphql" -F query=@/Users/wraithgar/Development/graphql/npm-cli-dependencies-prs.graphql --jq '.data.search.nodes[]|{ name: .nameWithOwner, pr: .pullRequests.nodes[]}|\"\(.name)\t\(.pr.number)\t\(.pr.title)\"'"