diff --git a/lib/config/migration.ts b/lib/config/migration.ts index 5b586159a3..d38a292e51 100644 --- a/lib/config/migration.ts +++ b/lib/config/migration.ts @@ -491,11 +491,7 @@ export function migrateConfig( if (subMigrate.isMigrated) { migratedConfig[key] = subMigrate.migratedConfig; } - } else if ( - key.startsWith('commitMessage') && - is.string(val) && - (val.includes('currentVersion') || val.includes('newVersion')) - ) { + } else if (key.startsWith('commitMessage') && is.string(val)) { migratedConfig[key] = val .replace(/currentVersion/g, 'currentValue') .replace(/newVersion/g, 'newValue')