From 6415c2f99c90b7173b45b00ea0f388ca086a9464 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 70e32e21d..c1becc54f 100644 --- a/scripts/check_description_files.py +++ b/scripts/check_description_files.py @@ -88,7 +88,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_"]]