From 6c8962866f25276866873508e4485771f72ed6ac Mon Sep 17 00:00:00 2001 From: mergify-ci-bot Date: Tue, 31 Mar 2026 08:17:15 +0000 Subject: [PATCH] chore: sync Mergify scopes Schema files --- mergify_cli/ci/scopes/config/scopes.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/mergify_cli/ci/scopes/config/scopes.py b/mergify_cli/ci/scopes/config/scopes.py index cb059a69..0a02a628 100644 --- a/mergify_cli/ci/scopes/config/scopes.py +++ b/mergify_cli/ci/scopes/config/scopes.py @@ -10,7 +10,7 @@ ScopeName = typing.Annotated[ str, - pydantic.StringConstraints(pattern=SCOPE_NAME_RE, min_length=1), + pydantic.StringConstraints(pattern=SCOPE_NAME_RE, min_length=2), ] @@ -75,10 +75,7 @@ class Scopes(pydantic.BaseModel): "`None` disables scoping." ), ) - merge_queue_scope: str | None = pydantic.Field( + merge_queue_scope: ScopeName = pydantic.Field( default="merge-queue", - description=( - "Optional scope name automatically applied to merge queue PRs. " - "Set to `None` to disable." - ), + description="Scope name automatically applied to merge queue PRs.", )