From 27787f0401dbf086824da16dd190c49c234cf1e7 Mon Sep 17 00:00:00 2001 From: Morgan Adamiec Date: Fri, 3 May 2024 12:22:39 +0100 Subject: [PATCH] Add validate field to prdoc --- 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": [