mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 14:30:22 +00:00
Add Latest Tag sensor to GitHub integration (#66932)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user