Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
68 lines (68 loc) · 2.3 KB
/
Copy pathrenovate.json
File metadata and controls
68 lines (68 loc) · 2.3 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":automergeMinor",
":automergePatch",
":automergeDigest",
":enablePreCommit"
],
"automergeType": "pr",
"platformAutomerge": true,
"packageRules": [
{
"matchUpdateTypes": ["major"],
"automerge": false,
"reviewers": ["clappingmonkey"],
"labels": ["major", "dependencies"]
},
{
"description": "Auto-approve eligible updates get a dedicated branch prefix, which renovate-approve.yaml requires; the branch name is set by Renovate and cannot be relabelled on an open PR.",
"matchUpdateTypes": ["minor"],
"additionalBranchPrefix": "automerge-",
"labels": ["minor", "dependencies", "automerge"]
},
{
"matchUpdateTypes": ["patch"],
"additionalBranchPrefix": "automerge-",
"labels": ["patch", "dependencies", "automerge"]
},
{
"matchUpdateTypes": ["digest", "pin", "pinDigest"],
"automerge": true,
"additionalBranchPrefix": "automerge-",
"labels": ["dependencies", "automerge"]
},
{
"description": "npm already gets a 3-day minimum release age from config:best-practices; apply the same cooldown to GitHub Actions, pre-commit hooks and mise tools.",
"matchManagers": ["github-actions", "pre-commit", "mise"],
"minimumReleaseAge": "3 days"
},
{
"description": "Third-party actions run with repository secrets and OIDC; never automerge or auto-approve them. Must stay after the update-type rules so it overrides them. Majors are excluded because the major rule already blocks automerge and replacing labels here would drop the major label.",
"matchManagers": ["github-actions"],
"matchPackageNames": ["!actions/**"],
"matchUpdateTypes": ["minor", "patch", "digest", "pin", "pinDigest"],
"automerge": false,
"additionalBranchPrefix": "",
"reviewers": ["clappingmonkey"],
"labels": ["dependencies"]
},
{
"matchManagers": ["npm"],
"addLabels": ["npm"]
},
{
"matchManagers": ["github-actions"],
"addLabels": ["github-actions"]
},
{
"matchManagers": ["pre-commit"],
"addLabels": ["pre-commit"]
},
{
"matchManagers": ["mise"],
"addLabels": ["mise"]
}
]
}