Skip to content

fix: allow component-no-space in config schema - #2877

Open
Boulea7 wants to merge 1 commit into
googleapis:mainfrom
Boulea7:fix/2471-component-no-space-schema
Open

fix: allow component-no-space in config schema#2877
Boulea7 wants to merge 1 commit into
googleapis:mainfrom
Boulea7:fix/2471-component-no-space-schema

Conversation

@Boulea7

@Boulea7 Boulea7 commented Aug 13, 2026

Copy link
Copy Markdown

component-no-space is already declared as a boolean in ReleaserConfigOptions, but the root property allowlist marks it as false. As a result, otherwise valid top-level configurations are rejected by the published schema.

This allows the property at the root and adds schema tests for omitted, false, true, and invalid non-boolean values.

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (the option is already documented)

Fixes #2471 🦕

@Boulea7
Boulea7 requested review from a team as code owners August 13, 2026 03:53
@product-auto-label product-auto-label Bot added the size: s Pull request size is small. label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

component-no-space not allowed in json schema

1 participant