[update-product-data] Allow disabling auto configuration (#482)

This commit is contained in:
Marc Wrobel
2025-08-02 15:01:47 +02:00
committed by GitHub
parent b2f4028314
commit 3f65ff9d9e
5 changed files with 44 additions and 4 deletions

View File

@@ -71,6 +71,9 @@ class ProductFrontmatter:
def has_auto_configs(self) -> bool:
return self.data and "methods" in self.data.get("auto", {})
def is_auto_update_disabled(self) -> bool:
return self.data.get("auto", {}).get("disabled", False)
def is_auto_update_cumulative(self) -> bool:
return self.data.get("auto", {}).get("cumulative", False)