mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-21 18:22:39 +10:00
Add preflight (#490)
* Add preflight * fix syntax * move check * get event * print * return event * use path * tt * move to helper * add issue_comment * remove should run * check owner * add more information to the logs * test * add finished * move keys * Update errors * remove repo * fix JQ run * filter
This commit is contained in:
@@ -29,7 +29,7 @@ async def check():
|
||||
files = await repository.get_contents("custom_integrations")
|
||||
if domain not in [x.attributes["name"] for x in files]:
|
||||
exit(
|
||||
f"{domain} is not added to https://github.com/home-assistant/brands, "
|
||||
f"::error::{domain} is not added to https://github.com/home-assistant/brands, "
|
||||
+ "this is needed to ensure the best possible experience for the user"
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user