summaryrefslogtreecommitdiffstats
path: root/renovate.json
blob: 133076ffaf6d4aa44de66772a89be9ee24334e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["local>forgejo/renovate-config"],
  "packageRules": [
    {
      "description": "Disable runner test data",
      "matchFileNames": ["pkg/runner/testdata/**"],
      "enabled": false
    },
    {
      "description": "Require approval for all dependencies",
      "matchDepNames": ["/.+/"],
      "dependencyDashboardApproval": true
    },
    {
      "description": "Separate minor and patch for some packages",
      "matchDepNames": ["github.com/rhysd/actionlint"],
      "separateMinorPatch": true
    }
  ],
  "customManagers": [
    {
      "description": "Update deps inside Makefile",
      "customType": "regex",
      "fileMatch": ["^Makefile$"],
      "matchStrings": [
        " \\?= (?<depName>.+?)@(?<currentValue>.+?) # renovate: datasource=(?<datasource>.+?)(?: packageName=(?<packageName>.+?))?( versioning=(?<versioning>.+?))?\\s"
      ]
    }
  ]
}