Feature Request: Add Merge Request Creation for New Releases

Feature Request: Add Merge Request Creation for New Releases

Description:

Hello,

Currently, semantic-release pushes new versions directly to the main branch after each release. I propose adding a feature similar to what is implemented in the Release Please project, where a merge request is created for each new release instead of pushing changes directly.

Benefits of This Approach:

  • Code Review: Allows teams to review the changes introduced by the new release before merging.
  • Conflict Management: Makes it easier to handle potential merge conflicts.
  • Automation and Transparency: Maintains automation while providing increased transparency on the changes introduced by each release.

Proposed Features:

  • Automatic creation of a merge request containing the changes related to the new release.
  • Ability to customize the title and description of the merge request.
  • Integration with existing GitLab merge rules and approvals.

I believe this feature would be a valuable addition for teams looking for additional control over releases while retaining the benefits of automation with semantic-release.

Thank you in advance for your consideration!

Edited by Jordan Labrosse