Removed archived repositories (#1375)

* Removed archived repositories

* Update URL
This commit is contained in:
Joakim Sørensen
2022-05-28 12:13:31 +02:00
committed by GitHub
parent 0adcbeb81a
commit d435ba1d6f
5 changed files with 88 additions and 12 deletions
+4
View File
@@ -73,6 +73,10 @@ with open("blacklist", "r") as blacklist_file:
with open("removed", "r") as removed_file:
removedcontent = json.loads(removed_file.read())
if remove["repository"] in blacklistcontent:
print(f"{remove['repository']} has already been removed")
exit(0)
blacklistcontent.append(remove["repository"])
if remove["repository"].split("/")[0] not in orgs: