forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.renovaterc.json
112 lines (112 loc) · 4.02 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:recommended"],
"ignoreDeps": ["ubuntu-2004"],
"commitMessagePrefix": "📦",
"timezone": "America/Los_Angeles",
"schedule": "after 12am every weekday",
"dependencyDashboard": true,
"prBodyColumns": ["Package", "Update", "Type", "Change", "Package file"],
"prBodyNotes": [
"See all other Renovate PRs on the [Dependency Dashboard](https://github.com/ampproject/amphtml/issues/34671)",
"<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\ngit checkout -b {{{branchName}}} main\ngit pull https://github.com/ampproject/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]:ampproject/amphtml.git {{{branchName}}}:{{{branchName}}}\n```",
"</details>"
],
"packageRules": [
{
"groupName": "subpackage devDependencies",
"matchFileNames": ["**/*"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "chrome and chromedriver",
"matchFileNames": ["build-system/tasks/e2e/package.json"],
"matchPackageNames": ["chromedriver"],
"labels": ["WG: infra"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "build-system devDependencies",
"matchFileNames": ["build-system/**"],
"labels": ["WG: infra"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "validator devDependencies",
"matchFileNames": ["validator/**"],
"labels": ["WG: caching"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "validator webui",
"matchFileNames": ["validator/js/webui/**"],
"enabled": false
},
{
"groupName": "core devDependencies",
"matchFileNames": ["package.json"],
"labels": ["WG: infra"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "linting devDependencies",
"matchFileNames": ["package.json"],
"matchPackagePatterns": ["\\b(prettier|eslint)\\b"],
"labels": ["WG: infra"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "babel devDependencies",
"matchFileNames": ["package.json"],
"matchPackagePatterns": ["\\bbabel"],
"major": {"automerge": false, "assignAutomerge": false},
"labels": ["WG: infra", "WG: performance"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "esbuild devDependencies",
"matchFileNames": ["package.json"],
"matchPackagePatterns": ["\\besbuild\\b"],
"labels": ["WG: infra", "WG: performance"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "ampproject devDependencies",
"matchFileNames": ["package.json"],
"matchPackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["devDependencies"],
"labels": ["WG: components", "WG: performance"],
"rebaseWhen": "never",
"automerge": true
},
{
"groupName": "ampproject dependencies",
"matchFileNames": ["package.json"],
"matchPackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
"labels": ["WG: components", "WG: performance"],
"rebaseWhen": "never",
"automerge": false,
"schedule": null
},
{
"groupName": "core dependencies",
"matchFileNames": ["package.json"],
"excludePackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
"labels": ["WG: components", "WG: performance"],
"rebaseWhen": "never",
"automerge": false
}
]
}