forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.renovaterc.json
112 lines (112 loc) · 4.19 KB
/
.renovaterc.json
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
104
105
106
107
108
109
110
111
112
{
"extends": ["config:base"],
"node": {
"supportPolicy": ["lts_latest"]
},
"ignoreDeps": ["ubuntu-2004"],
"commitMessagePrefix": "📦",
"timezone": "America/Los_Angeles",
"schedule": "after 12am every weekday",
"dependencyDashboard": true,
"prBodyColumns": ["Package", "Update", "Type", "Change", "Package file"],
"prBodyNotes": [
"<details>",
"<summary>How to resolve breaking changes</summary>",
"This PR may introduce breaking changes that require manual intervention. In such cases, you will need to check out this branch, fix the cause of the breakage, and commit the fix to ensure a green CI build. To check out and update this PR, follow the steps below:",
"```sh\n# Check out the PR branch (these steps are from GitHub)\ngit checkout -b renovate-bot-{{{branchName}}} main\ngit pull https://github.com/renovate-bot/amphtml.git {{{branchName}}}\n\n# Directly make fixes and commit them\namp lint --fix # For lint errors in JS files\namp prettify --fix # For prettier errors in non-JS files\n# Edit source code in case of new compiler warnings / errors\n\n# Push the changes to the branch\ngit push [email protected]:renovate-bot/amphtml.git renovate-bot-{{{branchName}}}:{{{branchName}}}\n```",
"</details>"
],
"packageRules": [
{
"groupName": "subpackage devDependencies",
"matchPaths": ["**/*"],
"major": {"automerge": false, "assignAutomerge": false},
"automerge": true,
"assignAutomerge": true
},
{
"groupName": "build-system devDependencies",
"matchPaths": ["build-system/**"],
"major": {"automerge": false, "assignAutomerge": false},
"labels": ["WG: infra"],
"automerge": true,
"assignAutomerge": true
},
{
"groupName": "validator devDependencies",
"matchPaths": ["validator/**"],
"major": {"automerge": false, "assignAutomerge": false},
"labels": ["WG: caching"],
"automerge": true,
"assignAutomerge": true
},
{
"groupName": "validator webui",
"matchPaths": ["validator/js/webui/**"],
"enabled": false
},
{
"groupName": "core devDependencies",
"matchFiles": ["package.json"],
"major": {"automerge": false, "assignAutomerge": false},
"labels": ["WG: infra"],
"automerge": true,
"assignAutomerge": true
},
{
"groupName": "linting devDependencies",
"matchFiles": ["package.json"],
"matchPackagePatterns": ["\\b(prettier|eslint)\\b"],
"major": {"automerge": false, "assignAutomerge": false},
"labels": ["WG: infra"],
"automerge": true,
"assignAutomerge": true
},
{
"groupName": "babel devDependencies",
"matchFiles": ["package.json"],
"matchPackagePatterns": ["\\bbabel"],
"major": {"automerge": false, "assignAutomerge": false},
"labels": ["WG: infra", "WG: performance"],
"automerge": true,
"assignAutomerge": true
},
{
"groupName": "esbuild devDependencies",
"matchFiles": ["package.json"],
"matchPackagePatterns": ["\\besbuild\\b"],
"major": {"automerge": false, "assignAutomerge": false},
"labels": ["WG: infra", "WG: performance"],
"automerge": true,
"assignAutomerge": true
},
{
"groupName": "ampproject devDependencies",
"matchFiles": ["package.json"],
"matchPackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["devDependencies"],
"major": {"automerge": false, "assignAutomerge": false},
"labels": ["WG: bento", "WG: components", "WG: performance"],
"automerge": true,
"assignAutomerge": true
},
{
"groupName": "ampproject dependencies",
"matchFiles": ["package.json"],
"matchPackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
"labels": ["WG: bento", "WG: components", "WG: performance"],
"automerge": false,
"assignAutomerge": false
},
{
"groupName": "core dependencies",
"matchFiles": ["package.json"],
"excludePackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
"labels": ["WG: bento", "WG: components", "WG: performance"],
"automerge": false,
"assignAutomerge": false
}
]
}