chore: add dependabot config
the3ash committed
Jul 10, 2025 at 19:05 UTC
b280420628a448057d7ac97a5400eb8bd7a3652d
1 file changed
+30
.github/dependabot.yml
new
+30
@@ -0,0 +1,30 @@
1
+version: 2
2
+updates:
3
+ # Enable npm (pnpm) dependency updates
4
+ - package-ecosystem: 'npm'
5
+ directory: '/'
6
+ schedule:
7
+ # Check for updates every Monday at 09:00 (Asia/Shanghai)
8
+ interval: 'weekly'
9
+ day: 'monday'
10
+ time: '09:00'
11
+ timezone: 'Asia/Shanghai'
12
+ # Limit the number of open PRs created by Dependabot
13
+ open-pull-requests-limit: 10
14
+ commit-message:
15
+ # Use 'chore' as the commit message prefix
16
+ prefix: 'chore'
17
+ include: 'scope'
18
+ # Labels to add to Dependabot PRs
19
+ labels:
20
+ - 'dependencies'
21
+ - 'automated'
22
+ ignore:
23
+ # Ignore major version updates (breaking changes)
24
+ - dependency-name: '*'
25
+ update-types: ['version-update:semver-major']
26
+ allow:
27
+ # Allow updates for development dependencies
28
+ - dependency-type: 'development'
29
+ # Allow updates for direct dependencies
30
+ - dependency-type: 'direct'