gitlabmerge-requestrenovate

How to auto approve renovate merge requests in gitlab?


We use RenovateBot to update our dependencies in GitLab. To avoid that every request have to be approved by a specific amount of persons, I want to auto approve all MRs of renovate.

In the documentation I found autoApprove, but that seems to be just for azure. For GitLab I found gitLabIgnoreApprovals, but here regarding to the documentation also auto merging is necessary.

Is there a way to auto approve all MRs of renovate bot, but not auto merge it?


Solution

  • The feature was added in a newer version of Renovate Bot. Just add "autoApprove": true to your renovate.json and Renovate will add one approval to the merge request.

    GitLab was also added to the documentation.