Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(platform/gitlab): use Notes API for automerge to support merge trains #34102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Preisschild
Copy link

@Preisschild Preisschild commented Feb 7, 2025

closes #5573

Gitlab's /merge API does not support merge trains, but sending "/merge" over the MR comment (notes) API does work:
https://gitlab.com/gitlab-org/gitlab/-/issues/32665

Changes

When using automerge with Gitlab, renovate will now add MRs to merge trains. If not it will be merged as previously.

Context

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@CLAassistant
Copy link

CLAassistant commented Feb 7, 2025

CLA assistant check
All committers have signed the CLA.

@Preisschild Preisschild force-pushed the master branch 2 times, most recently from 6835103 to 39e6f08 Compare February 7, 2025 20:09
@Preisschild Preisschild marked this pull request as ready for review February 7, 2025 20:11
@Preisschild Preisschild force-pushed the master branch 3 times, most recently from 5023524 to ebcb45d Compare February 7, 2025 20:36
@Preisschild Preisschild changed the title feat: use Notes API for Gitlab Automerge to support merge trains feat(platform/gitlab): use Notes API for automerge to support merge trains Feb 7, 2025
@Preisschild Preisschild marked this pull request as draft February 7, 2025 23:26
…rains

closes renovatebot#5573

Gitlab's /merge API does not support merge trains, but sending "/merge"
over the MR comment (notes) API does work:
https://gitlab.com/gitlab-org/gitlab/-/issues/32665

Signed-off-by: Florian Ströger <[email protected]>
@Preisschild Preisschild marked this pull request as ready for review February 8, 2025 12:33
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.

Support GitLab "merge trains"
3 participants