ci(MSP-5160): add scope to release-please PR title pattern - #712
Merged
Marcin Michalski (marmichalski) merged 1 commit intoAug 19, 2026
Merged
Conversation
Now that PRs check out the repo before running commitlint, the custom
.github/commitlint.config.js (which requires a scope) is enforced.
That breaks the release-please PR title "chore: release ${version}",
which has no scope. Add a "release" scope so generated release PR
titles pass commitlint.
Maks Rafalko (maks-rafalko)
marked this pull request as ready for review
August 19, 2026 14:22
Marcin Michalski (marmichalski)
approved these changes
Aug 19, 2026
Marcin Michalski (marmichalski)
deleted the
ticket/MSP-5160-fix-auto-release-title-commit
branch
August 19, 2026 14:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Now that PRs check out the repo before running commitlint, our custom
.github/commitlint.config.js(which requires ascope) is actually enforced instead of falling back to commitlint's default config (where scope is optional).That breaks the release-please PR title
chore: release ${version}, which has no scope, so it fails thescope-emptycheck. See the currently-failing release PR: #698.What
Add a
releasescope topull-request-title-patternin.github/release-please-config.json, so generated release PR titles pass commitlint.