From f45847b8b10db9cea664d0ce90083947c3843b10 Mon Sep 17 00:00:00 2001 From: Lulu Date: Fri, 3 May 2024 16:07:35 +0100 Subject: [PATCH] Add validate field to prdoc (#4368) --- prdoc/schema_user.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/prdoc/schema_user.json b/prdoc/schema_user.json index 1fa4b8d1202c..294005f209d5 100644 --- a/prdoc/schema_user.json +++ b/prdoc/schema_user.json @@ -140,6 +140,9 @@ "bump": { "$ref": "#/$defs/semver_bump" }, + "validate": { + "$ref": "#/$defs/semver_validate" + }, "note": { "type": "string" } @@ -183,6 +186,11 @@ "description" ] }, + "semver_validate": { + "type": "boolean", + "description": "Whether or not to validate the specified semver bump.", + "default": true + }, "semver_bump": { "description": "The type of bump to apply to the crate version according to Cargo SemVer: https://doc.rust-lang.org/cargo/reference/semver.html. Please check docs/RELEASE.md for more information.", "oneOf": [