Skip to content

ci: give 7.x Release PRs a title release-please can parse - #322

Merged
mogita merged 1 commit into
7.xfrom
chore/7x-release-pr-title
Nov 12, 2026
Merged

mogita merged 1 commit into
7.xfrom
chore/7x-release-pr-title

Conversation

@mogita

@mogita mogita commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Problem

On 7.x, release-please titles the Release PR chore: release 7.x. After the merge, it parses that title as a release for version 7.x and fails with unable to parse version string: 7.x (run 43258378002). Retitling #319 to chore: release 7.2.0 fixed this one release, but every later 7.x Release PR would fail the same way.

Solution

Set group-pull-request-title-pattern to chore${scope}: release, so Release PRs on this branch are titled chore(7.x): release. The title no longer contains a version, so release-please takes the version from the PR body, as it already does for chore: release main.

How to verify

  1. Check against release-please 17.3.0 (src/util/pull-request-title.ts). The default pattern doesn't match chore(7.x): release, so nothing throws. The group pattern matches it with branch=7.x and no version, so buildReleases reads the version from the body.
  2. The next 7.x Release PR is titled chore(7.x): release, and its merge run reaches "Tag and release".

Note

Low Risk
One-line release-please configuration change with no application or runtime impact.

Overview
Adds group-pull-request-title-pattern": "chore${scope}: release" to release-please-config.json so grouped Release PRs on version branches are titled like chore(7.x): release instead of chore: release 7.x.

That removes the invalid 7.x version from the title so release-please no longer fails parsing after merge and can take the real semver from the PR body, matching how releases on main already work.

Reviewed by Cursor Bugbot for commit fd0bd96. Bugbot is set up for automated code reviews on this repo. Configure here.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 53247ed3-d4e6-4a78-9350-273745a1ead1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@mogita
mogita merged commit 2d81a35 into 7.x Nov 12, 2026
20 checks passed
@mogita
mogita deleted the chore/7x-release-pr-title branch November 12, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant