From e06e86ee5153063f2264ea7fdf0f787c106d44f8 Mon Sep 17 00:00:00 2001 From: Simon Roberts Date: Tue, 19 May 2026 15:10:27 +1000 Subject: [PATCH] Permit leading "dry_run:" in org-policy names (#3975) --- fast/stages/0-org-setup/schemas/org-policies.schema.json | 2 +- fast/stages/0-org-setup/schemas/org-policies.schema.md | 2 +- modules/folder/schemas/org-policies.schema.json | 2 +- modules/folder/schemas/org-policies.schema.md | 2 +- modules/organization/schemas/org-policies.schema.json | 2 +- modules/organization/schemas/org-policies.schema.md | 2 +- modules/project/schemas/org-policies.schema.json | 2 +- modules/project/schemas/org-policies.schema.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fast/stages/0-org-setup/schemas/org-policies.schema.json b/fast/stages/0-org-setup/schemas/org-policies.schema.json index 6c29331ec..37501c70a 100644 --- a/fast/stages/0-org-setup/schemas/org-policies.schema.json +++ b/fast/stages/0-org-setup/schemas/org-policies.schema.json @@ -4,7 +4,7 @@ "type": "object", "additionalProperties": false, "patternProperties": { - "^[a-z-]+[a-zA-Z0-9\\.]+$": { + "^(dry_run:)?[a-z-]+[a-zA-Z0-9\\.]+$": { "type": "object", "additionalProperties": false, "properties": { diff --git a/fast/stages/0-org-setup/schemas/org-policies.schema.md b/fast/stages/0-org-setup/schemas/org-policies.schema.md index 9503c65c3..6df06d7a6 100644 --- a/fast/stages/0-org-setup/schemas/org-policies.schema.md +++ b/fast/stages/0-org-setup/schemas/org-policies.schema.md @@ -6,7 +6,7 @@ *additional properties: false* -- **`^[a-z-]+[a-zA-Z0-9\.]+$`**: *object* +- **`^(dry_run:)?[a-z-]+[a-zA-Z0-9\.]+$`**: *object*
*additional properties: false* - **inherit_from_parent**: *boolean* - **reset**: *boolean* diff --git a/modules/folder/schemas/org-policies.schema.json b/modules/folder/schemas/org-policies.schema.json index 6c29331ec..37501c70a 100644 --- a/modules/folder/schemas/org-policies.schema.json +++ b/modules/folder/schemas/org-policies.schema.json @@ -4,7 +4,7 @@ "type": "object", "additionalProperties": false, "patternProperties": { - "^[a-z-]+[a-zA-Z0-9\\.]+$": { + "^(dry_run:)?[a-z-]+[a-zA-Z0-9\\.]+$": { "type": "object", "additionalProperties": false, "properties": { diff --git a/modules/folder/schemas/org-policies.schema.md b/modules/folder/schemas/org-policies.schema.md index 9503c65c3..6df06d7a6 100644 --- a/modules/folder/schemas/org-policies.schema.md +++ b/modules/folder/schemas/org-policies.schema.md @@ -6,7 +6,7 @@ *additional properties: false* -- **`^[a-z-]+[a-zA-Z0-9\.]+$`**: *object* +- **`^(dry_run:)?[a-z-]+[a-zA-Z0-9\.]+$`**: *object*
*additional properties: false* - **inherit_from_parent**: *boolean* - **reset**: *boolean* diff --git a/modules/organization/schemas/org-policies.schema.json b/modules/organization/schemas/org-policies.schema.json index 6c29331ec..37501c70a 100644 --- a/modules/organization/schemas/org-policies.schema.json +++ b/modules/organization/schemas/org-policies.schema.json @@ -4,7 +4,7 @@ "type": "object", "additionalProperties": false, "patternProperties": { - "^[a-z-]+[a-zA-Z0-9\\.]+$": { + "^(dry_run:)?[a-z-]+[a-zA-Z0-9\\.]+$": { "type": "object", "additionalProperties": false, "properties": { diff --git a/modules/organization/schemas/org-policies.schema.md b/modules/organization/schemas/org-policies.schema.md index 9503c65c3..6df06d7a6 100644 --- a/modules/organization/schemas/org-policies.schema.md +++ b/modules/organization/schemas/org-policies.schema.md @@ -6,7 +6,7 @@ *additional properties: false* -- **`^[a-z-]+[a-zA-Z0-9\.]+$`**: *object* +- **`^(dry_run:)?[a-z-]+[a-zA-Z0-9\.]+$`**: *object*
*additional properties: false* - **inherit_from_parent**: *boolean* - **reset**: *boolean* diff --git a/modules/project/schemas/org-policies.schema.json b/modules/project/schemas/org-policies.schema.json index 6c29331ec..37501c70a 100644 --- a/modules/project/schemas/org-policies.schema.json +++ b/modules/project/schemas/org-policies.schema.json @@ -4,7 +4,7 @@ "type": "object", "additionalProperties": false, "patternProperties": { - "^[a-z-]+[a-zA-Z0-9\\.]+$": { + "^(dry_run:)?[a-z-]+[a-zA-Z0-9\\.]+$": { "type": "object", "additionalProperties": false, "properties": { diff --git a/modules/project/schemas/org-policies.schema.md b/modules/project/schemas/org-policies.schema.md index 9503c65c3..6df06d7a6 100644 --- a/modules/project/schemas/org-policies.schema.md +++ b/modules/project/schemas/org-policies.schema.md @@ -6,7 +6,7 @@ *additional properties: false* -- **`^[a-z-]+[a-zA-Z0-9\.]+$`**: *object* +- **`^(dry_run:)?[a-z-]+[a-zA-Z0-9\.]+$`**: *object*
*additional properties: false* - **inherit_from_parent**: *boolean* - **reset**: *boolean*