-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
77 lines (77 loc) · 2.59 KB
/
Copy pathrenovate.json
File metadata and controls
77 lines (77 loc) · 2.59 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":semanticCommits",
":semanticCommitTypeAll(chore)",
":enableVulnerabilityAlertsWithLabel(security)"
],
"schedule": ["before 6am on monday"],
"timezone": "Europe/Madrid",
"rangeStrategy": "bump",
"constraints": {
"go": "1.25"
},
"labels": ["dependencies"],
"prConcurrentLimit": 5,
"prHourlyLimit": 0,
"vulnerabilityAlerts": {
"labels": ["security", "dependencies"],
"schedule": ["at any time"]
},
"packageRules": [
{
"description": "Never auto-bump the go directive in go.mod; the support floor is a deliberate, manually-managed compatibility decision. CI no longer pins a toolchain version — it derives <major>.<minor>.x from this directive and lets setup-go resolve the newest patch — so nothing here needs Renovate to move it",
"matchManagers": ["gomod"],
"matchDatasources": ["golang-version"],
"enabled": false
},
{
"description": "Group all Go minor + patch updates into one PR",
"matchManagers": ["gomod"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "go-deps (non-major)",
"automerge": false
},
{
"description": "Group all GitHub Actions updates into one PR",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"groupName": "github-actions",
"pinDigests": true,
"automerge": false
},
{
"description": "Major bumps always get their own PR for human review",
"matchUpdateTypes": ["major"],
"labels": ["dependencies", "major-bump"],
"automerge": false
}
],
"customManagers": [
{
"description": "Track the SHA-pinned Go tools installed via `go install ...@<sha> # <version>` in the Makefile",
"customType": "regex",
"managerFilePatterns": ["/^Makefile$/"],
"matchStrings": [
"go install (?<depName>\\S+?)(?:/cmd/\\S+?)?@(?<currentDigest>[a-f0-9]{40}) # (?<currentValue>v\\S+)"
],
"datasourceTemplate": "go"
},
{
"description": "Track the GOLANGCI_LINT_VERSION pin in ci.yml",
"customType": "regex",
"managerFilePatterns": ["/^\\.github/workflows/ci\\.yml$/"],
"matchStrings": [
"GOLANGCI_LINT_VERSION:\\s*'(?<currentValue>\\S+)'"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "golangci/golangci-lint"
}
],
"postUpdateOptions": ["gomodTidy"],
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 6am on the first day of the month"]
}
}