tasks.py: skip empty repos when updating hound
This commit is contained in:
parent
66475fc83c
commit
59aa029934
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
@ -114,7 +114,6 @@ def update_hound_repos(c):
|
|||
"nix-community/nixpkgs",
|
||||
"nix-community/nsncd",
|
||||
"nix-community/rkwifibt",
|
||||
"NixOS/nixops-dashboard", # empty repo causes an error
|
||||
]
|
||||
|
||||
resp = {}
|
||||
|
@ -141,6 +140,7 @@ def update_hound_repos(c):
|
|||
"url": repo["clone_url"],
|
||||
}
|
||||
for repo in repos
|
||||
if repo["size"] != 0 # skip empty repos
|
||||
if repo["full_name"] not in disallowed_repos
|
||||
if repo["archived"] is False
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue