-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathrenovate.json
More file actions
58 lines (57 loc) · 1.55 KB
/
renovate.json
File metadata and controls
58 lines (57 loc) · 1.55 KB
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:best-practices", ":enablePreCommit"],
"prConcurrentLimit": 0,
"prCreation": "not-pending",
"rebaseWhen": "behind-base-branch",
"labels": ["renovate"],
"baseBranchPatterns": ["dev"],
"useBaseBranchConfig": "merge",
"internalChecksFilter": "strict",
"minimumReleaseAge": "3 days",
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"addLabels": ["dependencies", "patch"],
"minimumReleaseAge": "3 days"
},
{
"matchUpdateTypes": ["minor"],
"addLabels": ["dependencies", "minor"],
"minimumReleaseAge": "3 days"
},
{
"matchUpdateTypes": ["major"],
"addLabels": ["dependencies", "major"],
"minimumReleaseAge": "7 days"
},
{
"matchDepTypes": ["devDependencies", "dev"],
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
{
"matchPackageNames": ["ruff", "astral-sh/ruff-pre-commit"],
"groupName": "ruff"
},
{
"groupName": "Python Version",
"matchPackageNames": ["python"],
"matchManagers": ["custom.regex", "pyenv", "pep621"]
}
],
"customManagers": [
{
// updates ruff target version
"customType": "regex",
"managerFilePatterns": ["/^pyproject\\.toml$/"],
"matchStrings": ["target-version = \"py3(?<minor>\\d+)\""],
"currentValueTemplate": "3.{{{minor}}}",
"autoReplaceStringTemplate": "target-version = \"py3{{{replace '.' '' newValue}}}\"",
"depNameTemplate": "python",
"datasourceTemplate": "python-version",
"versioningTemplate": "python"
}
]
}