-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathrenovate.json
More file actions
63 lines (63 loc) · 1.89 KB
/
Copy pathrenovate.json
File metadata and controls
63 lines (63 loc) · 1.89 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
59
60
61
62
63
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":enablePreCommit"],
"prHourlyLimit": 0,
"prConcurrentLimit": 0,
"branchConcurrentLimit": 0,
"rangeStrategy": "update-lockfile",
"labels": ["renovate"],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["pyproject.toml"],
"matchStrings": [
"version\\s*=\\s*\"(?<currentValue>[0-9.]+)\"\\s*#\\s*renovate:\\s*depName=(?<depName>[^\\s]+)\\s+datasource=(?<datasource>[^\\s]+)"
],
"versioningTemplate": "semver-coerced"
},
{
"customType": "regex",
"managerFilePatterns": ["pyproject.toml"],
"matchStrings": [
"Programming Language :: Python :: (?<currentValue>[0-9.]+)\",\\s*#\\s*renovate:\\s*customPinnedDependency=python,\\s*datasource=python-version"
],
"depNameTemplate": "python",
"datasourceTemplate": "python-version",
"versioningTemplate": "python",
"autoReplaceStringTemplate": "Programming Language :: Python :: {{{currentValue}}}\",\n \"Programming Language :: Python :: {{{newValue}}}\", # renovate: customPinnedDependency=python,datasource=python-version"
}
],
"packageRules": [
{
"matchPackageNames": ["*"],
"addLabels": ["dependencies"]
},
{
"matchPackageNames": ["*"],
"matchUpdateTypes": ["patch", "minor"],
"automerge": true
},
{
"matchPackageNames": ["*"],
"matchUpdateTypes": ["major"],
"automerge": false
},
{
"matchManagers": ["pre-commit", "devcontainer"],
"matchUpdateTypes": ["major"],
"automerge": true
},
{
"matchPackageNames": ["uv"],
"matchUpdateTypes": ["major"],
"automerge": true
},
{
"matchManagers": ["github-actions"],
"addLabels": ["github_actions"]
}
],
"lockFileMaintenance": {
"enabled": false
}
}