From f848f5f491cfb90a1f0dbf538d66ee261af7a2ab Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 12 Mar 2024 16:14:17 -0400 Subject: [PATCH] CI: Accept repository name with at least "Slicer" or "slicer" --- scripts/check_description_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_description_files.py b/scripts/check_description_files.py index 3b923cfb7..68c96e824 100644 --- a/scripts/check_description_files.py +++ b/scripts/check_description_files.py @@ -92,7 +92,7 @@ def check_git_repository_name(extension_name, metadata): repo_name = os.path.splitext(urlparse.urlsplit(metadata["scmurl"]).path.split("/")[-1])[0] - if not repo_name.startswith("Slicer"): + if "slicer" not in repo_name.lower(): variations = [prefix + repo_name for prefix in ["Slicer-", "Slicer_", "SlicerExtension-", "SlicerExtension_"]]