Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 980
JuliusH4 Avatar asked Oct 31 '25 16:10

JuliusH4


1 Answers

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.

like image 51
JuliusH4 Avatar answered Nov 03 '25 08:11

JuliusH4