Skip to content

Commit 6363d48

Browse files
committed
feat: 支持renovate自动升级依赖版本
1 parent 45a50de commit 6363d48

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/renovate.json5

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// 参考:https://docs.renovatebot.com/configuration-options/#configuration-options
2+
{
3+
"extends": ["config:base"],
4+
"labels": ["PR:dependencies"],
5+
"baseBranches": ["next"],
6+
"schedule": ["before 3am on Friday"],
7+
"additionalBranchPrefix": "{{parentDir}}-",
8+
"branchConcurrentLimit": 6,
9+
// 触发CI流水线
10+
"requiredStatusChecks": [
11+
"CI"
12+
],
13+
"packageRules": [
14+
{
15+
"matchDepTypes": ["devDependencies"],
16+
"matchUpdateTypes": ["minor", "patch"],
17+
"schedule": ["at any time"],
18+
"prConcurrentLimit": 4,
19+
"platformAutomerge": true,
20+
"addLabels": ["devDependencies"],
21+
"automerge": false
22+
}
23+
]
24+
}

0 commit comments

Comments
 (0)