Help with automerge configuration #8410
-
I have a question about how to properly configure auto merging. I am using renovate for dependency checking in on-premise BitBucket and it works great. module.exports = {
platform: 'bitbucket-server',
endpoint: '[endpoint]',
username: '[user]',
password: '[password]',
gitAuthor: '[user]',
labels: ['renovate', 'dependencies', 'automated'],
prHourlyLimit: 20,
prConcurrentLimit: 5,
commitMessagePrefix: "[prefix]",
onboarding: true,
branchTopic: "{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}-{{{newMinor}}}{{/if}}-x{{#if isLockfileUpdate}}-lockfile{{/if}}",
onboardingConfig: {
extends: ['config:base'],
},
repositories: [
repos...
],
}; This is the repository configuration: {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"ignorePaths": ["some path"],
"packageRules": [
{
"updateTypes": ["patch"],
"automerge": true
},
{
"packagePatterns": ["^Microsoft.Extensions", "^Microsoft.AspNetCore", "^Microsoft.EntityFrameworkCore"],
"groupName": ["Microsoft packages"]
},
{
"packagePatterns": ["^SpecFlow"],
"groupName": ["SpecFlow packages"]
},
{
"packagePatterns": ["^Serilog"],
"groupName": ["Serilog packages"]
},
{
"packagePatterns": ["^System.IO.Abstractions"],
"groupName": ["System IO Abstractions packages"]
}
]
} But for the following PR it says that automerge is disabled by configuration. The repository is a mix of docker, nuget and npm packages (not sure whether that might be relevant). Can somebody point me to an error in my configuration? I tried a lot of experiments but I am at a loss now. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Please add |
Beta Was this translation helpful? Give feedback.
Please add
"separateMinorPatch": true
to your config and try again.