Add Latest Tag sensor to GitHub integration (#66932)
This commit is contained in:
parent
3cbbf90f23
commit
2d52aca9eb
3 changed files with 31 additions and 0 deletions
|
@ -68,6 +68,18 @@ query ($owner: String!, $repository: String!) {
|
|||
url
|
||||
tag: tagName
|
||||
}
|
||||
refs(
|
||||
first: 1
|
||||
refPrefix: "refs/tags/"
|
||||
orderBy: {field: TAG_COMMIT_DATE, direction: DESC}
|
||||
) {
|
||||
tags: nodes {
|
||||
name
|
||||
target {
|
||||
url: commitUrl
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue