Skip to content

feat: make linked-versions pull request title configurable#4

Closed
Leundai wants to merge 2 commits intomainfrom
leo/internal-configurable
Closed

feat: make linked-versions pull request title configurable#4
Leundai wants to merge 2 commits intomainfrom
leo/internal-configurable

Conversation

@Leundai
Copy link

@Leundai Leundai commented Nov 6, 2025

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • 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 (if necessary)

Summary

This PR makes the linked-versions plugin's pull request title configurable via the group-pull-request-title-pattern option. Previously, the title was hardcoded to chore${scope}: release ${groupName} ${version}. Now users can customize it while maintaining backward compatibility.

Changes

  • Added groupPullRequestTitlePattern option to plugin factory and manifest
  • Updated linked-versions plugin to use configured pattern, defaulting to chore${scope}: release ${groupName} libraries for backward compatibility
  • The ${component} placeholder in the pattern is replaced with the plugin's groupName
  • Added documentation in customizing.md and manifest-releaser.md
  • Added 3 new tests covering default behavior and custom patterns

Human Review Checklist

  • Verify backward compatibility: default title should include "libraries" suffix (not ${version})
  • Confirm ${component} placeholder replacement works correctly in linked-versions.ts:183-187
  • Check that the default pattern change from ${version} to libraries is intentional

This is for our internal update here

created an upstream PR too
googleapis#2617

Fixes #<issue_number_goes_here> 🦕

@devin-ai-integration devin-ai-integration bot changed the title fix: make linked-versions configurable feat: make linked-versions pull request title configurable Dec 16, 2025
@Leundai Leundai closed this Dec 16, 2025
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