Skip to content

fix: allow prerelease-type at root of manifest config schema#2813

Open
bilelomrani1 wants to merge 1 commit into
googleapis:mainfrom
bilelomrani1:fix-schema-prerelease-type
Open

fix: allow prerelease-type at root of manifest config schema#2813
bilelomrani1 wants to merge 1 commit into
googleapis:mainfrom
bilelomrani1:fix-schema-prerelease-type

Conversation

@bilelomrani1

@bilelomrani1 bilelomrani1 commented Jun 13, 2026

Copy link
Copy Markdown

Adds the missing prerelease-type key to the root properties allow-list in schemas/config.json.

Fixes #2814 🦕

The root config schema sets additionalProperties: false and pulls shared
options in via allOf -> $ref ReleaserConfigOptions. Since additionalProperties
ignores properties contributed through allOf/$ref, the schema re-lists every
allowed root key in its own properties block. prerelease-type was omitted from
that list, so editors validating against the schema flag a valid root-level
prerelease-type as 'Property prerelease-type is not allowed.'

Add it alongside its sibling options (bump-patch-for-minor-pre-major,
versioning), which were already present.
@bilelomrani1 bilelomrani1 requested review from a team as code owners June 13, 2026 14:12
@product-auto-label product-auto-label Bot added the size: xs Pull request size is extra small. label Jun 13, 2026
@google-cla

google-cla Bot commented Jun 13, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema rejects valid root-level prerelease-type option

1 participant