-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathrenovate.json5
More file actions
71 lines (71 loc) · 2.15 KB
/
Copy pathrenovate.json5
File metadata and controls
71 lines (71 loc) · 2.15 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
// Renovate creates automated PRs to update various kinds of dependencies.
//
// config ref: https://docs.renovatebot.com/configuration-options/
//
// validate: renovate-config-validator .github/renovate.json5 --strict --no-global
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:best-practices",
":preserveSemverRanges",
"schedule:earlyMondays",
"helpers:pinGitHubActionDigestsToSemver",
],
minimumReleaseAge: "7 days",
abandonmentThreshold: "3 years",
packageRules: [
// Group bumps of all non-major dependencies by using two rules, one for
// situations like 1.2.3, and one for situations like 0.1.2.
{
groupName: "all non-major dependencies",
groupSlug: "all-non-major",
matchPackageNames: ["*"],
matchCurrentVersion: "/^[1-9]/",
matchUpdateTypes: ["minor", "patch"],
},
{
groupName: "all non-major dependencies",
groupSlug: "all-non-major",
matchCurrentVersion: "/^0\\.[1-9]/",
matchPackageNames: ["*"],
matchUpdateTypes: ["patch"],
},
// pyo3 packages have interdependencies on each other
{
groupName: "all pyo3 packages",
groupSlug: "all-pyo3",
matchDatasources: ["crate"],
matchPackageNames: ["pyo3*"],
},
// jasmine packages have interdependencies on each other
{
groupName: "all jasmine packages",
groupSlug: "all-jasmine",
matchDatasources: ["npm"],
matchPackageNames: ["jasmine*"],
},
// Group all GitHub Actions bumps (including majors) into one PR.
{
groupName: "all github actions",
groupSlug: "all-github-actions",
matchManagers: ["github-actions"],
matchDepNames: ["!python"],
matchUpdateTypes: ["major", "minor", "patch", "digest"],
},
// We upgrade python versions in CI manually
{
matchManagers: ["github-actions"],
matchDepNames: ["python"],
separateMultipleMinor: true,
dependencyDashboardApproval: true,
},
{
matchPackageNames: [
"python",
"com.sensmetry:sysand",
"com.sensmetry:sysand-maven-plugin",
],
enabled: false,
},
],
}