From 11ae0414cc5322ea1fa39a4536cb70c23d454717 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Fri, 13 Dec 2024 19:35:24 +0100 Subject: [PATCH] feat: add validation for plan to be enterprise, fixes #10 --- CHANGELOG.md | 1 + validate-org-settings.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c10e2..96d2853 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Added +- Added validation for `plan` to be `enterprise`. - Added validation for `two_factor_requirement` to be enabled. ## [0.10.0] - 2024/11/20 diff --git a/validate-org-settings.py b/validate-org-settings.py index 8dd34e7..1ecb92a 100644 --- a/validate-org-settings.py +++ b/validate-org-settings.py @@ -9,3 +9,4 @@ context.property_equals(self, "members_can_create_teams", False) context.property_equals(self, "default_code_security_configurations_disabled", True) context.property_equals(self, "two_factor_requirement", True) +context.property_equals(self, "plan", "enterprise")