forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.renovaterc.json
98 lines (95 loc) · 3.14 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
{
"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"],
"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": [
{
"groupName": "subpackage devDependencies",
"matchPaths": ["**/*"],
"major": {
"groupName": null,
"additionalBranchPrefix": "subpackage-"
}
},
{
"groupName": "build system devDependencies",
"matchPaths": ["build-system/**"],
"labels": ["WG: infra"],
"major": {
"groupName": null,
"additionalBranchPrefix": "build-system-"
}
},
{
"groupName": "validator devDependencies",
"matchPaths": ["validator/**"],
"labels": ["WG: caching"],
"major": {
"groupName": null,
"additionalBranchPrefix": "validator-"
}
},
{
"groupName": "core devDependencies",
"matchPaths": ["+(package.json)"],
"major": {
"groupName": null,
"additionalBranchPrefix": "core-"
}
},
{
"groupName": "linting devDependencies",
"matchPackagePatterns": ["\\b(prettier|eslint)\\b"],
"major": {
"groupName": null,
"additionalBranchPrefix": "linting-"
}
},
{
"groupName": "babel devDependencies",
"matchPackagePatterns": ["\\bbabel"],
"major": {
"groupName": null,
"additionalBranchPrefix": "babel-"
}
},
{
"excludePackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
"enabled": false
},
{
"groupName": "ampproject devDependencies",
"matchPackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["devDependencies"],
"major": {
"groupName": null,
"additionalBranchPrefix": "ampproject-"
}
},
{
"groupName": "ampproject dependencies",
"matchPackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
"major": {
"groupName": null,
"additionalBranchPrefix": "ampproject-"
}
}
]
}