hongbo-miao/hongbomiao.com

View on GitHub
renovate.json

Summary

Maintainability
Test Coverage
{
  "extends": [
    "config:base"
  ],
  "lockFileMaintenance": {
    "enabled": true,
    "commitMessageExtra": "({{packageFile}})"
  },
  "additionalBranchPrefix": "{{parentDir}}-",
  "semanticCommitScope": "{{#if parentDir}}{{parentDir}}{{else}}deps{{/if}}",
  "prHourlyLimit": 0,
  "packageRules": [
    {
      "description": "Group Python packages",
      "matchPackageNames": [
        "docker.io/python",
        "python"
      ],
      "groupName": "python packages"
    },
    {
      "description": "Group Prefect packages",
      "matchPackageNames": [
        "docker.io/prefecthq/prefect",
        "prefect"
      ],
      "groupName": "prefect packages"
    },
    {
      "description": "Group PyTorch packages",
      "matchPackageNames": [
        "torch",
        "torchvision"
      ],
      "groupName": "torch packages"
    },
    {
      "description": "Group stylelint packages",
      "matchPackageNames": [
        "stylelint",
        "stylelint-prettier"
      ],
      "groupName": "stylelint packages"
    },
    {
      "description": "Use custom regex versioning for Bitnami Docker images",
      "matchPackageNames": [
        "docker.io/bitnami/spark"
      ],
      "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(:?-(?<compatibility>.+)(?<build>\\d+)-r(?<revision>\\d+))?$"
    },
    {
      "description": "Only allow Node.js upgrades to LTS versions",
      "matchPackageNames": [
        "docker.io/node",
        "node"
      ],
      "allowedVersions": "/^(\\d*[02468])\\..+$/"
    }
  ]
}