Skip to content

chore: improve release-drafter versioning rules - #436

Merged
nieomylnieja merged 1 commit into
mainfrom
breaking-changes-should-result-in-minor-label
Mar 3, 2026
Merged

chore: improve release-drafter versioning rules#436
nieomylnieja merged 1 commit into
mainfrom
breaking-changes-should-result-in-minor-label

Conversation

@nieomylnieja

Copy link
Copy Markdown
Collaborator

Summary

  • Add breaking-change label to minor version resolution
  • Add missing patch version patterns (infra:, doc:, test:)

Details

Currently, the release-drafter configuration has two issues:

  1. Breaking changes don't affect versioning: PRs with breaking changes (detected via ## Breaking Changes in the body) get the breaking-change label, but this doesn't trigger a version bump. Breaking changes should result in a minor version bump.

  2. Incomplete patch patterns: The patch version label only includes fix:, sec:, and chore: title patterns, but infra:, doc:, and test: PRs also get auto-labeled yet don't trigger patch version bumps.

This PR ensures all conventional commit types are properly versioned according to semantic versioning principles.

馃 Generated with Claude Code

- Add breaking-change label to minor version resolution
- Add missing patch version patterns (infra:, doc:, test:)

This ensures breaking changes trigger minor version bumps and all
conventional commit types are properly versioned.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@nieomylnieja
nieomylnieja merged commit a4753fc into main Mar 3, 2026
5 checks passed
@nieomylnieja
nieomylnieja deleted the breaking-changes-should-result-in-minor-label branch March 3, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants