-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
90 lines (90 loc) · 2.89 KB
/
Copy pathrenovate.json
File metadata and controls
90 lines (90 loc) · 2.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
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard",
":semanticCommits",
"helpers:pinGitHubActionDigests"
],
"labels": [
"dependencies"
],
"postUpdateOptions": [
"gomodTidy"
],
"prConcurrentLimit": 3,
"minimumReleaseAge": "7 days",
"osvVulnerabilityAlerts": true,
"dependencyDashboardOSVVulnerabilitySummary": "unresolved",
"packageRules": [
{
"description": "Group Go module updates together.",
"matchManagers": [
"gomod"
],
"groupName": "go modules"
},
{
"description": "Indirect Go deps too. Renovate skips them by default, so an advisory in a transitive module sits there unnoticed even when it isn't reachable from our code.",
"matchManagers": [
"gomod"
],
"matchDepTypes": [
"indirect"
],
"enabled": true
},
{
"description": "But never a MAJOR bump of an indirect dep. A major changes the import path, which only the direct dependency that pulls the module can act on; forcing it here yields a merge request that cannot compile (go.mod needs updates -mod=readonly forbids). Example: go-github and golang-jwt are pinned by ghinstallation, so their v88->v89 / v4->v5 can only move when ghinstallation does. Minor and patch indirect bumps stay enabled above, so advisories are still caught.",
"matchManagers": [
"gomod"
],
"matchDepTypes": [
"indirect"
],
"matchUpdateTypes": [
"major"
],
"enabled": false
},
{
"description": "Group GitHub Actions digest bumps together.",
"matchManagers": [
"github-actions"
],
"groupName": "github actions"
},
{
"description": "Keep the SLSA generator on a tag (it verifies its own ref; a digest pin breaks it).",
"matchManagers": [
"github-actions"
],
"matchDepNames": [
"slsa-framework/slsa-github-generator"
],
"pinDigests": false
},
{
"description": "Group the container base images. Chainguard rebuilds :latest almost daily, and every rebuild is a new digest, so pinned bases are by far the loudest source of merge requests here. One request covering all of them is the same review with a quarter of the interruption.",
"matchDatasources": [
"docker"
],
"groupName": "container images"
}
],
"vulnerabilityAlerts": {
"enabled": true,
"labels": [
"security"
],
"minimumReleaseAge": null,
"prCreation": "immediate",
"schedule": []
},
"schedule": [
"before 7am on monday"
],
"description": [
"Batch routine updates into one Monday morning pass instead of letting them arrive continuously. vulnerabilityAlerts above sets schedule: [] deliberately, which overrides this \u2014 a security fix is not made to wait for Monday."
]
}