mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-04 02:58:10 +10:00
Add information links to checks
This commit is contained in:
@@ -12,6 +12,7 @@ TOKEN = os.getenv("GITHUB_TOKEN")
|
||||
|
||||
|
||||
async def check():
|
||||
print("Information: https://hacs.xyz/docs/publish/include#check-brands")
|
||||
if get_category() != "integration":
|
||||
print("Only integrations are checked.")
|
||||
return
|
||||
|
||||
@@ -3,6 +3,7 @@ from scripts.helpers.hacs_manifest import get_hacs_manifest
|
||||
|
||||
|
||||
def check():
|
||||
print("Information: https://hacs.xyz/docs/publish/include#check-hacs-manifest")
|
||||
if get_category() != "integration":
|
||||
print("Only integrations are checked.")
|
||||
return
|
||||
|
||||
@@ -3,6 +3,7 @@ from scripts.helpers.info import get_info
|
||||
|
||||
|
||||
def check():
|
||||
print("Information: https://hacs.xyz/docs/publish/include#check-images")
|
||||
if get_category() not in ["plugin", "theme"]:
|
||||
print("Only plugin and theme are checked.")
|
||||
return
|
||||
|
||||
@@ -3,6 +3,7 @@ from scripts.helpers.info import get_info
|
||||
|
||||
|
||||
def check():
|
||||
print("Information: https://hacs.xyz/docs/publish/include#check-info")
|
||||
info = get_info()
|
||||
if not info:
|
||||
print("No information provided.")
|
||||
|
||||
@@ -3,6 +3,7 @@ from scripts.helpers.manifest import get_manifest
|
||||
|
||||
|
||||
def check():
|
||||
print("Information: https://hacs.xyz/docs/publish/include#check-manifest")
|
||||
if get_category() != "integration":
|
||||
print("Only integrations are checked.")
|
||||
return
|
||||
|
||||
@@ -10,6 +10,7 @@ TOKEN = os.getenv("GITHUB_TOKEN")
|
||||
|
||||
|
||||
async def check():
|
||||
print("Information: https://hacs.xyz/docs/publish/include#check-repository")
|
||||
repo = get_repo()
|
||||
issues = []
|
||||
async with GitHub(TOKEN) as github:
|
||||
|
||||
@@ -12,6 +12,7 @@ TOKEN = os.getenv("GITHUB_TOKEN")
|
||||
|
||||
|
||||
async def check():
|
||||
print("Information: https://hacs.xyz/docs/publish/include#check-wheels")
|
||||
if get_category() != "integration":
|
||||
print("Only integrations are checked.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user