mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-14 15:11:33 +10:00
* Test new check * Add quote * test * test * move check * move back * use env * test multistep * test trigger * if: github.event.label.name * quotes * hassfest? * Fix clone * Update hassfest * check hassfest * Use real domain * Lmit * Test hassfest * Check domain * Fix domain * No changes * Enable on unlable * Change HACS validate * Move inputs * Add dummy integration * TEst * Move to env * Fix repo * Remove entry
21 lines
453 B
Python
21 lines
453 B
Python
from scripts.changed.category import get_category
|
|
from scripts.helpers.info import get_info
|
|
|
|
|
|
def check():
|
|
if get_category() not in ["plugin", "theme"]:
|
|
print("Only plugin and theme are checked.")
|
|
return
|
|
|
|
info = get_info()
|
|
if "<img" in info or "![" in info:
|
|
print("Has image(s)")
|
|
return
|
|
|
|
print("There should be images to show the user what they get.")
|
|
exit(1)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
check()
|