blob: abe4fcadcbc364a23bf09b28b8227c8f21cea643 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
query GetPublishRepoState($owner: String!, $name: String!) {
repository(owner: $owner, name: $name) {
refs(
first: 20
refPrefix: "refs/tags/"
orderBy: { field: TAG_COMMIT_DATE, direction: DESC }
) {
nodes {
name
tag: target {
oid
... on Tag {
commit: target {
oid
}
}
}
}
}
defaultBranchRef {
target {
... on Commit {
history(first: 20) {
nodes {
oid
}
}
}
}
}
}
}
|