20 lines
275 B
GraphQL
20 lines
275 B
GraphQL
{
|
|
repository(owner: "$owner", name: "$repo") {
|
|
...RepoFragment
|
|
}
|
|
}
|
|
|
|
fragment RepoFragment on Repository {
|
|
name
|
|
defaultBranchRef {
|
|
name
|
|
target {
|
|
... on Commit {
|
|
id
|
|
history(first: 0) {
|
|
totalCount
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |