From 8b3aeb3faa25a2c4c9ff078957dbd9ace82c105d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 9 Feb 2025 19:33:37 +0100 Subject: [PATCH] Ignore archived projects --- tools/oca_projects.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/oca_projects.py b/tools/oca_projects.py index 5511ee6d..2849f18a 100644 --- a/tools/oca_projects.py +++ b/tools/oca_projects.py @@ -26,7 +26,9 @@ def get_repositories(): gh = login() all_repos = [ - repo.name for repo in gh.repositories_by("OCA") if repo.name not in NOT_ADDONS + repo.name + for repo in gh.repositories_by("OCA") + if repo.name not in NOT_ADDONS and not repo.archived ] return all_repos