forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.renovaterc.json
129 lines (109 loc) · 3.44 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"extends": ["config:base"],
"node": {
"supportPolicy": ["lts_latest"]
},
"ignorePaths": [],
"commitMessagePrefix": "📦",
"timezone": "America/Los_Angeles",
"schedule": "after 12am every weekday",
"dependencyDashboard": true,
"prBodyColumns": ["Package", "Update", "Type", "Change", "Package file"],
"separateMinorPatch": true,
"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}}} master\ngit pull https://github.com/renovate-bot/amphtml.git {{{branchName}}}\n\n# Directly make fixes and commit them\ngulp lint --fix # For lint errors in JS files\ngulp 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 git@github.com:renovate-bot/amphtml.git renovate-bot-{{{branchName}}}:{{{branchName}}}\n```",
"</details>"
],
"packageRules": [
{
"paths": ["**/*"],
"groupName": "subpackage devDependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "subpackage-"
}
},
{
"paths": ["src/**"],
"labels": ["WG: runtime"],
"groupName": "runtime devDependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "runtime-"
}
},
{
"paths": ["build-system/**"],
"labels": ["WG: infra"],
"groupName": "build system devDependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "build-system-"
}
},
{
"paths": ["validator/**"],
"labels": ["WG: caching"],
"groupName": "validator devDependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "validator-"
}
},
{
"paths": ["+(package.json)"],
"groupName": "core devDependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "core-"
}
},
{
"packagePatterns": ["\\b(prettier|eslint)\\b"],
"groupName": "linting devDependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "linting-"
}
},
{
"packagePatterns": ["\\bbabel"],
"groupName": "babel devDependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "babel-"
}
},
{
"packagePatterns": ["renovate"],
"depTypeList": ["devDependencies"],
"groupName": "Renovate Bot"
},
{
"excludePackagePatterns": ["^@ampproject/"],
"depTypeList": ["dependencies"],
"enabled": false
},
{
"packagePatterns": ["^@ampproject/"],
"depTypeList": ["devDependencies"],
"groupName": "ampproject devDependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "ampproject-"
}
},
{
"packagePatterns": ["^@ampproject/"],
"depTypeList": ["dependencies"],
"groupName": "ampproject dependencies",
"major": {
"groupName": null,
"additionalBranchPrefix": "ampproject-"
}
}
]
}