mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
57 lines
No EOL
1.1 KiB
Text
57 lines
No EOL
1.1 KiB
Text
query {
|
|
rateLimit {
|
|
limit
|
|
remaining
|
|
resetAt
|
|
}
|
|
repository(owner: "drwetter", name: "testssl.sh") {
|
|
# Default branch commits
|
|
defaultBranchRef {
|
|
target {
|
|
... on Commit {
|
|
history(first: 1) {
|
|
totalCount
|
|
edges {
|
|
node {
|
|
oid
|
|
committedDate
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
# All tags
|
|
refs(refPrefix: "refs/tags/", first: 1, orderBy: {field: TAG_COMMIT_DATE, direction: DESC}) {
|
|
edges {
|
|
node {
|
|
name
|
|
target {
|
|
... on Commit {
|
|
oid
|
|
url
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
# All releases (filter pre-releases in your application logic)
|
|
releases(first: 100, orderBy: { field: CREATED_AT, direction: DESC }) {
|
|
totalCount
|
|
edges {
|
|
node {
|
|
name
|
|
url
|
|
tagName
|
|
isPrerelease
|
|
isLatest
|
|
createdAt
|
|
}
|
|
}
|
|
pageInfo {
|
|
hasNextPage
|
|
endCursor
|
|
}
|
|
}
|
|
}
|
|
} |