renovatebot / config-help

Please use the Discussions feature of https://github.com/renovatebot/renovate instead

Home Page:https://github.com/renovatebot/renovate/discussions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automerge *before* updating branch

wolfgang42 opened this issue · comments

What would you like Renovate to be able to do?

I have a repository where I run Renovate on a very slow schedule (weekly) relative to one of the project's dependencies (which updates several times a day). I've noticed that as a result the dependency updates aren't being automerged; since Renovate sees a new version every time it seems to prefer updating the branch rather than merging it, so the upgrades never make it to master.

It would be very useful if there was a way to tell Renovate to do the merge if tests have passed, before trying to update the branch again, so it doesn't get forever stuck in a cycle of constant updates.

Did you already have any implementation ideas?

No, not really.

In future please use the issue templates in this repository.

How exactly do you run Renovate?

I used the feature request template, but as the headers didn't seem useful I took them out. I've put them back again in case that helps.

I'm using the self-hosted Renovate, running on a schedule in GitLab.

For your GitLab schedule, run Renovate every hour (or at least much more often), so that it has the chance to automerge. Then use Renovate's built-in schedules to control when it creates branches/MRs.

That...seems incredibly obvious in hindsight. I've been trying to figure out what's causing this issue for a while now and by the time I'd figured it out I had thought it must be some issue with Renovate and totally overlooked the simple option. Thanks for your patience, I'll close this issue and go fix my schedule now :)