Commit 1fd9e3e8 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

feat: skip if template is not a CI/CD component

parent d9fe20ed
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -470,6 +470,12 @@ def run():
        f"Checking template {AnsiColors.CYAN}{kicker['name']}{AnsiColors.RESET} (vars prefix {AnsiColors.CYAN}\"{var_prefix}\"{AnsiColors.RESET})"
    )
    print("=============================================================")
    if not kicker.get("is_component"):
        print(
            f"{AnsiColors.HGRAY}✕ this project is not a CI/CD component: skip{AnsiColors.RESET}"
        )
        return

    # Check main template
    print(
        f"{AnsiColors.BLUE}{AnsiColors.BOLD}→ Main template ({kicker['template_path']}){AnsiColors.RESET}"