{
  "extends": [
    "config:base"
  ],
  "packageRules": [
    {
      "groupSlug": "all",
      "packagePatterns": ["*"],
      "allowedVersions": "!/^(?i).*[-_\\.](Alpha|Beta|RC|M|EA|Snap|snapshot|jboss|atlassian)[-_\\.]?[0-9]?.*$/",
      "groupName": "all dependencies"
    }
  ]
}

{
  "extends": [
    "config:base"
  ],
  "packageRules": [
    {
      "groupSlug": "all",
      "packagePatterns": ["*"],
      "allowedVersions": "!/^(?i).*[-_\\.](Alpha|Beta|RC|M|EA|Snap|snapshot|jboss|atlassian)[-_\\.]?[0-9]?.*$/",
      "groupName": "all dependencies"
    },
    {
      "description": "Disable major updates for centos",
      "matchPackageNames": ["centos"],
      "matchUpdateTypes": ["major"],
      "enabled": false
    }
  ]
}

Disable major updates for centos
Disable major updates for centos
