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

How do I set the bot to automerge branches?

Drillan767 opened this issue · comments

Which Renovate are you using?

WhiteSource Renovate App

Renovate Pro

Which platform are you using?

GitHub.com

What would you like to do?

Here is my current configuration (in a file named renovate.json, at the root of my project):

{
    "extends": [
        "config:base"
    ],
    "schedule": ["every weekend"],
    "automerge": true,
    "automergeType": "branch",
    "major": {
        "automerge": false
    }
}

I simply would like the bot to work once every weekend, to create a branch with all the updates it found and auto merge it by itself. However, with this configuration, I find myself with unmerge pull request, and the description says "automerge is disabled".

I can't either find or figure out an example of how to setup that. However, it looks like the "schedule" part works well.

Thanks in advance

Can you reproduce in a public repo so I can check it out?

Sure, here is one of the repos that has renovate in it: https://github.com/Drillan767/Overlord

I don't see any Renovate PRs in that repo.

Well it seems to actually work, I checked the commits and the only PRs I found were for major version changes, and some things have been pushed as branches by the bot. I guess I'm closing the issue now.