{
  extends: ['config:base'],
  timezone: 'Europe/Zurich',
  schedule: 'after 1am on Saturday',
  labels: ['dependencies'],
  separateMajorMinor: true,
  separateMinorPatch: true,
  prHourlyLimit: 0,
  prConcurrentLimit: 0,
  lockFileMaintenance: {enabled: true, automerge: true},
  baseBranches: ['master', '2.7'],
  regexManagers: [
    {
      fileMatch: ['^ci/applications-versions.yaml$'],
      matchStrings: ['(?<depName>[^\\s]+): (?<currentValue>[^\\s]+) # (?<datasource>[^\\s]+)'],
    },
    {
      fileMatch: ['^.github/workflows/main.yaml$'],
      matchStrings: ["node-version: '(?<currentValue>[^\\s]+).x'"],
      depNameTemplate: 'node',
      datasourceTemplate: 'node',
    },
  ],
  packageRules: [
    /** Automerge the patch, the minor and the dev dependency */
    {
      matchDepTypes: ['devDependencies'],
      automerge: true,
    },
    /** Group the patch and the minor */
    {
      matchUpdateTypes: ['patch'],
      groupName: 'all patch versions',
      automerge: true,
    },
    {
      matchUpdateTypes: ['minor'],
      groupName: 'all minor versions',
      automerge: true,
    },
    /** Accept only the patch on the stabilization branches */
    {
      matchBaseBranches: ['/2\\..*/'],
      matchUpdateTypes: ['major', 'minor', 'pin', 'digest', 'lockFileMaintenance', 'rollback', 'bump'],
      enabled: false,
    },
  ],
}


Add missing base branches in Renovate
{
  extends: ['config:base'],
  timezone: 'Europe/Zurich',
  schedule: 'after 1am on Saturday',
  labels: ['dependencies'],
  separateMajorMinor: true,
  separateMinorPatch: true,
  prHourlyLimit: 0,
  prConcurrentLimit: 0,
  lockFileMaintenance: {enabled: true, automerge: true},
  baseBranches: ['master', '2.7', '2.6', '2.4'],
  regexManagers: [
    {
      fileMatch: ['^ci/applications-versions.yaml$'],
      matchStrings: ['(?<depName>[^\\s]+): (?<currentValue>[^\\s]+) # (?<datasource>[^\\s]+)'],
    },
    {
      fileMatch: ['^.github/workflows/main.yaml$'],
      matchStrings: ["node-version: '(?<currentValue>[^\\s]+).x'"],
      depNameTemplate: 'node',
      datasourceTemplate: 'node',
    },
  ],
  packageRules: [
    /** Automerge the patch, the minor and the dev dependency */
    {
      matchDepTypes: ['devDependencies'],
      automerge: true,
    },
    /** Group the patch and the minor */
    {
      matchUpdateTypes: ['patch'],
      groupName: 'all patch versions',
      automerge: true,
    },
    {
      matchUpdateTypes: ['minor'],
      groupName: 'all minor versions',
      automerge: true,
    },
    /** Accept only the patch on the stabilization branches */
    {
      matchBaseBranches: ['/2\\..*/'],
      matchUpdateTypes: ['major', 'minor', 'pin', 'digest', 'lockFileMaintenance', 'rollback', 'bump'],
      enabled: false,
    },
  ],
}