Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
71 lines (71 loc) · 2.75 KB
/
Copy pathrenovate.json
File metadata and controls
71 lines (71 loc) · 2.75 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
69
70
71
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"timezone": "America/New_York",
"schedule": ["before 9am on Monday"],
"automergeSchedule": ["at any time"],
"semanticCommits": "enabled",
"prConcurrentLimit": 10,
"prHourlyLimit": 4,
"minimumReleaseAge": "7 days",
"internalChecksFilter": "strict",
"reviewersFromCodeOwners": true,
"automergeType": "pr",
"platformAutomerge": false,
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 9am on the first day of the month"],
"automerge": true
},
"packageRules": [
{
"description": "Pin GitHub Actions to commit digests, matching the existing convention in .github/workflows.",
"groupName": "pin digests",
"groupSlug": "all-digests",
"matchDepTypes": ["action"],
"pinDigests": true
},
{
"description": "Automerge patch and minor devDependency updates. Every dependency in this repo is a devDependency, and Renovate PRs run the full Docusaurus build (Deploy PR Preview) plus tsc and prettier --check, so a green branch is strong evidence.",
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "For 0.x releases a minor bump is a breaking change under semver, so require review. Currently affects @easyops-cn/docusaurus-search-local and @harperfast/code-guidelines.",
"matchCurrentVersion": "/^0\\./",
"matchUpdateTypes": ["minor"],
"automerge": false
},
{
"description": "Never automerge a major update.",
"matchUpdateTypes": ["major"],
"automerge": false
},
{
"description": "All ten @docusaurus/* packages publish in lockstep from facebook/docusaurus, including tsconfig, types and module-type-aliases. Any solo bump breaks the build, so they must move as one PR.",
"groupName": "docusaurus monorepo",
"groupSlug": "docusaurus",
"matchPackageNames": ["@docusaurus/**"]
},
{
"description": "A Docusaurus minor can change rendering without failing the build, so a human should review the PR preview deployment. Docusaurus patch updates still automerge.",
"matchPackageNames": ["@docusaurus/**"],
"matchUpdateTypes": ["minor"],
"automerge": false
},
{
"description": "react and react-dom must always move together.",
"groupName": "react",
"groupSlug": "react",
"matchPackageNames": ["react", "react-dom"]
},
{
"description": "TypeScript 7 is a full compiler rewrite and @docusaurus/tsconfig 3.x is not validated against it. Require an explicit tick on the Dependency Dashboard before a PR is even opened, so the upgrade happens when someone is ready to drive it.",
"matchPackageNames": ["typescript"],
"matchUpdateTypes": ["major"],
"automerge": false,
"dependencyDashboardApproval": true
}
]
}