Looking for support with automerge not merging #11853
-
Hello all, I am new to Renovate and I'm trying to setup automerging but things are not working for me, and I'm not sure why. My Renovate config is: https://github.com/skyra-project/skyra/blob/main/.github/renovate.json click to expand{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", ":dependencyDashboard"],
"npm": {
"rangeStrategy": "bump"
},
"labels": ["Meta: Dependencies"],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
{
"matchPackagePatterns": ["typeorm", "tslib", "colorette", "i18next"],
"enabled": false
},
{
"matchPackagePatterns": ["ansi-regex"],
"allowedVersions": "^5"
},
{
"matchPackagePatterns": ["@types/node-fetch"],
"allowedVersions": "^2"
},
{
"matchPackagePatterns": ["@sapphire"],
"groupName": "Sapphire Dependencies"
},
{
"matchPackagePatterns": ["@influxdata"],
"groupName": "InfluxDB Dependencies"
}
]
} Here are 2 PRs that I expected to be auto merged:
Some things to note:
Click to expand
Any ideas? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Your logs show two branches with |
Beta Was this translation helpful? Give feedback.
Your logs show two branches with
"mergeStateStatus = UNKNOWN"
returned by GitHub. Both branches received commits immediately prior to the check so it is no surprise that GitHub hasn't yet calculated mergeability of the branch within a millisecond or two, and I bet your tests haven't even started, let alone completed. You probably just need to be patient and leave the branches for an hour or two without committing to your main branch.