Skip to content

[BREAKING] Add option to rebase mr on approval event

George Koltsov requested to merge feature-rebase-on-approve into master

Removes mostly useless auto-rebase: { on-approval: true} option since it basically simulates user pressing merge button right after approval.

Adds option on-approval under rebase-strategy to perform merge request rebase after approval. Together with auto-merge option this allows to setup following workflow:

  • approve mr
  • automatically trigger rebase
  • automatically merge approved mr once pipeline has finished

Implements: https://gitlab.com/dependabot-gitlab/dependabot/-/issues/185

Edited by George Koltsov

Merge request reports