summaryrefslogtreecommitdiffstats
path: root/.github/renovate.json
blob: 1fca10e6539a13637816e7081eee0ad33ae4dea7 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:base",
    ":enablePreCommit",
    ":prConcurrentLimit20",
    ":preserveSemverRanges",
    ":semanticPrefixChore"
  ],
  "ignorePresets": [
    ":dependencyDashboard",
    ":ignoreModulesAndTests",
    ":semanticPrefixFixDepsChoreOthers"
  ],
  "semanticCommits": "enabled",
  "commitMessageTopic": "{{depName}}",
  "dockerfile": {
    "enabled": false
  },
  "pip_requirements": {
    "fileMatch": [
      "(^|/)requirements[\\w-]*\\.txt$"
    ]
  },
  "regexManagers": [
    {
      "fileMatch": ["^\\.pre-commit-config\\.yaml$"],
      "matchStrings": ["(?<depName>[\\w-]+)(?<currentValue>==[a-z0-9.]+)"],
      "datasourceTemplate": "pypi"
    }
  ],
  "packageRules": [
    {
      "matchFiles": ["test/requirements.txt"],
      "semanticCommitType": "test"
    },
    {
      "matchManagers": ["pre-commit"],
      "commitMessageTopic": "{{depName}}",
      "semanticCommitScope": "pre-commit"
    },
    {
      "matchPackagePatterns": ["(^|/)gitlint$"],
      "versioning": "pep440",
      "groupName": "gitlint"
    },
    {
      "matchPackageNames": ["perltidy/perltidy"],
      "versioning": "regex:^(?<major>\\d{8})$"
    },
    {
      "matchPackagePatterns": ["(^|/)ruff(-pre-commit)?$"],
      "groupName": "ruff",
      "versioning": "pep440"
    },
    {
      "matchPackageNames": [
        "scop/pre-commit-shfmt",
        "shellcheck-py/shellcheck-py"
      ],
      "versioning": "loose"
    }
  ]
}