Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
88 lines (88 loc) · 3.3 KB
/
Copy pathrenovate.json
File metadata and controls
88 lines (88 loc) · 3.3 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": [
"This repo is public. Mend does not apply the org config (aignostics/renovate-config, org-inherited-config.json)",
"to public repos. This file ports the org keys that this repo needs. The Renovate defaults already match",
"the org values for prCreation, internalChecksFilter and minimumReleaseAgeBehaviour.",
"rebaseWhen conflicted: a rebase pushes to the PR branch, and the org ruleset then dismisses the approval."
],
"extends": ["config:best-practices"],
"timezone": "Europe/Berlin",
"minimumReleaseAge": "5 days",
"automerge": true,
"rebaseWhen": "conflicted",
"vulnerabilityAlerts": {
"description": "A vulnerability fix skips minimumReleaseAge. No automerge: a person checks the fix before the merge.",
"addLabels": ["security"],
"automerge": false
},
"pre-commit": {
"enabled": true
},
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 5am on monday"]
},
"customManagers": [
{
"customType": "regex",
"description": [
"Pinned PyPI packages in mise tasks, for example: uv tool install keyring==25.7.0 --with pkg==1.2.3.",
"This repo is public, so the org custom managers do not apply here."
],
"managerFilePatterns": ["/^tasks\\.toml$/", "/^mise\\.toml$/", "/^\\.mise/tasks//"],
"matchStrings": ["(?<depName>[A-Za-z0-9][A-Za-z0-9._-]*)==(?<currentValue>\\d[^\\s\"]*)"],
"datasourceTemplate": "pypi"
}
],
"packageRules": [
{
"description": [
"From the org config. Digest, pinDigest and lock file maintenance updates have no release timestamp.",
"Under timestamp-required, they stay pending forever and never automerge (renovatebot/renovate#45236).",
"Remove this rule when renovatebot/renovate#46645 is released."
],
"matchUpdateTypes": ["digest", "pinDigest", "lockFileMaintenance"],
"minimumReleaseAgeBehaviour": "timestamp-optional"
},
{
"groupName": "minor and patch dependencies",
"matchManagers": ["pep621"],
"matchUpdateTypes": ["minor", "patch"]
},
{
"description": [
"One PR for each Python minor or major update: requires-python and .python-version.",
"Without this rule, requires-python goes into the pep621 group alone and CI tests the old .python-version.",
"Keep this rule after the pep621 group rule. No automerge: a person adds the classifier and accepts the PR."
],
"groupName": "Python",
"matchPackageNames": ["python"],
"matchUpdateTypes": ["minor", "major"],
"automerge": false
},
{
"description": [
"Widen requires-python: raise only the upper bound. The default strategy also raises the lower bound,",
"and a dropped Python version is a breaking change for this library."
],
"matchDepTypes": ["requires-python"],
"rangeStrategy": "widen"
},
{
"groupName": "GitHub Actions",
"matchManagers": ["github-actions"],
"separateMajorMinor": false
},
{
"groupName": "pre-commit hooks",
"matchManagers": ["pre-commit"],
"separateMajorMinor": false
},
{
"groupName": "mise tools",
"matchManagers": ["mise", "custom.regex"],
"separateMajorMinor": false
}
]
}