Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
70 lines (70 loc) · 2.08 KB
/
Copy pathrenovate.json
File metadata and controls
70 lines (70 loc) · 2.08 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["helpers:pinGitHubActionDigests", "schedule:earlyMondays"],
"prHourlyLimit": 0,
"lockFileMaintenance": {
"enabled": true
},
"customManagers": [
// The github-actions manager only reads literal `runs-on` labels, so
// match runner labels listed in a job matrix. See
// https://github.com/renovatebot/renovate/discussions/24354.
{
"customType": "regex",
"managerFilePatterns": ["/^\\.github/workflows/[^/]+\\.ya?ml$/"],
"matchStrings": [
"(?:os:|-)\\s+(?<depName>ubuntu|macos|windows)-(?<currentValue>[\\w.-]+)"
],
"datasourceTemplate": "github-runners"
}
],
"packageRules": [
{
"matchManagers": ["github-actions"],
"separateMajorMinor": false,
"groupName": "GitHub Actions"
},
// Group runner labels from the matrix custom manager with the
// GitHub Actions updates.
{
"matchDatasources": ["github-runners"],
"separateMajorMinor": false,
"groupName": "GitHub Actions"
},
{
"matchManagers": ["pep621"],
"matchDepTypes": [
"project.dependencies",
"project.optional-dependencies"
],
"matchFileNames": ["pyproject.toml", "connectrpc-otel/pyproject.toml"],
// We manage production dependencies ourselves, only bumping
// when necessary.
"enabled": false
},
{
"matchCategories": ["python"],
"separateMajorMinor": false,
"groupName": "Python dependencies"
},
// Production artifacts depend on unstable ones with strict version-locking.
{
"matchCategories": ["python"],
"matchPackageNames": ["opentelemetry-*"],
"separateMajorMinor": false,
"ignoreUnstable": false,
"groupName": "OTel dependencies"
},
{
"matchDatasources": ["golang-version"],
"rangeStrategy": "bump",
"allowedVersions": "/^1\\.25\\.0$/",
"groupName": "Go"
},
{
"matchCategories": ["golang"],
"matchDatasources": ["go"],
"groupName": "Go dependencies"
}
]
}