From 29a3c3618f0ed4d212e33d2ece598f5da4f649fb Mon Sep 17 00:00:00 2001 From: Benedikt Bastin Date: Sat, 30 Nov 2024 16:26:34 +0100 Subject: [PATCH] feat: Add log group for loaded product data The update.py script logs loaded product data. As they are not contained within a log group, they clutter the GitHub Actions log without really providing any benefit. By moving them into a group, they are hidden by default. --- update.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update.py b/update.py index db50f8c4..f28a9a03 100644 --- a/update.py +++ b/update.py @@ -101,7 +101,10 @@ def __run_script(product: ProductFrontmatter, config: AutoConfig, summary: Scrip def run_scripts(summary: GitHubStepSummary, product_filter: str) -> bool: exec_summary = ScriptExecutionSummary() - for product in list_products(product_filter): + with GitHubGroup("Load Product Data"): + product_list = list_products(product_filter) + + for product in product_list: if not product.has_auto_configs(): continue