Skip to content

Commit 6ba11da

Browse files
committed
ci: added dep bot
1 parent efe3233 commit 6ba11da

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# 配置更新npm包的Dependabot
2+
version: 2
3+
updates:
4+
# 更新npm包的目录,此例为根目录下的package.json
5+
- package-ecosystem: npm
6+
directory: /
7+
# 更新频率为每天
8+
schedule:
9+
interval: daily
10+
open-pull-requests-limit: 10
11+
# 定义依赖关系和版本约束,更新范围为非破坏性更新(minor)和补丁更新(patch)
12+
# 并且仅更新来自稳定发布的包(安全更新)
13+
allow:
14+
- dependency-type: all
15+
update-types: [minor, patch]
16+
# 对稳定版本做出反应,排除不稳定的“beta”版本
17+
stability: stable
18+
# 仅更新安全漏洞的包
19+
security-updates: true
20+
ignore:
21+
- chalk
22+
- eslint

0 commit comments

Comments
 (0)