-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathrenovate.json5
103 lines (103 loc) · 2.94 KB
/
renovate.json5
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":preserveSemverRanges",
":dependencyDashboard",
":disableRateLimiting",
"schedule:weekly",
"github>Turbo87/renovate-config//rust/updateToolchain",
],
"packageRules": [
// Firmware needs Python 3.10 or older
{
"matchManagers": ["hermit"],
"matchPackageNames": ["python3"],
"allowedVersions": "<= 3.10"
},
// arm-gnu-gdb-python is a privately configured package in `firmware/bin/hermit-packages`
{
"matchManagers": ["hermit"],
"matchPackageNames": ["arm-gnu-gdb-python"],
"enabled": false
},
// Gradle updates should be manual
{
"matchManagers": ["gradle"],
"matchPaths": ["app/"],
"matchPackageNames": ["com.android.tools.build:gradle"],
"enabled": false
},
// FreeRTOS updates should be manual
{
"matchManagers": ["git-submodules"],
"matchPackageNames": ["firmware/third-party/FreeRTOS"],
"enabled": false
},
// Group related Rust package updates to the same PR
{
"matchManagers": ["cargo"],
"matchPackageNames": ["/^futures[-_]?/"],
"groupName": "futures packages"
},
// Group opentelemetry packages that have to be updated together
{
"matchManagers": ["cargo"],
"matchPackageNames": ["/^opentelemetry[-_]?/", "tracing-opentelemetry", "axum-tracing-opentelemetry"],
"groupName": "opentelemetry packages"
},
{
"matchManagers": ["cargo"],
"matchPackageNames": ["/^reqwest[-_]?/"],
"groupName": "reqwest packages"
},
{
"matchManagers": ["cargo"],
"matchPackageNames": ["/^serde[-_]?/"],
"groupName": "serde packages"
},
{
"matchManagers": ["cargo"],
"matchPackageNames": ["/^tracing[-_]?/", "!tracing-opentelemetry"],
"groupName": "tracing packages"
},
// Group Rust toolchain and docker images
{
"matchManagers": ["cargo", "dockerfile"],
"matchPackageNames": ["rust", "public.ecr.aws/docker/library/rust"],
"groupName": "rust toolchain"
},
// Group alpine docker image for dockerhub and ecr registries
{
"matchManagers": ["dockerfile"],
"matchPackageNames": ["alpine", "public.ecr.aws/docker/library/alpine"],
"groupName": "alpine docker image"
}
],
"ignorePaths": [
"cli/**",
"docs/**",
"datadog/**",
"factory-test/**",
"fastlane/**",
"nodes/**",
"web/**"
],
"enabledManagers": [
"cargo",
"cocoapods",
"hermit",
"regex",
"swift",
"gradle",
"npm",
"dockerfile",
"pip_requirements",
"git-submodules"
],
"labels": ["dependencies", "task-list-completed-disable"],
// See Library Update Age Policy https://docs.google.com/document/d/1n32Xl4eTOviesHrvMSfmb19dgBhmcsguno2QanfgBkE/edit
"minimumReleaseAge": "120 days",
"internalChecksFilter": "strict",
"platformCommit": true
}