Skip to content

Commit

Permalink
Identify community add-on repositories (#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Feb 12, 2022
1 parent 0b90d1e commit c927d09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/hacs/repositories/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ async def validate_repository(self):
if name is None:
if (
self.data.full_name == "home-assistant/addons"
or self.data.full_name.startswith("hassio-addons/")
or "repository.json" in self.treefiles
or "repository.yaml" in self.treefiles
or "repository.yml" in self.treefiles
Expand Down

0 comments on commit c927d09

Please sign in to comment.