Skip to content

Commit 2258085

Browse files
fumikitoclaude
andcommitted
Add grouped Dependabot config from taro-series
npm/composer の個別バージョン更新を1本のPRに集約し、脆弱性修正も security グループにまとめる。cooldown 7日・direct依存限定・PR上限5・Asia/Tokyo。dependabot PR の乱立を防ぐため taro-series の設定に統一する。 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 1494002 commit 2258085

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
version: 2
2+
updates:
3+
# ビルド/開発ツール(npm)
4+
- package-ecosystem: "npm"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "monday"
9+
timezone: "Asia/Tokyo"
10+
open-pull-requests-limit: 5
11+
cooldown:
12+
default-days: 7
13+
allow:
14+
- dependency-type: "direct" # 推移的依存の単体PRを止める(脆弱性は下の security グループで拾う)
15+
groups:
16+
# 通常のバージョン更新は major も含めて1本にまとめる(個別PRの乱立を防ぐ)
17+
npm-dependencies:
18+
patterns: [ "*" ]
19+
update-types: [ "major", "minor", "patch" ]
20+
# 脆弱性修正(推移的依存含む)もまとめて1本に
21+
npm-security:
22+
applies-to: security-updates
23+
patterns: [ "*" ]
24+
25+
# 本番依存(composer / vendorに同梱される側)
26+
- package-ecosystem: "composer"
27+
directory: "/"
28+
schedule:
29+
interval: "weekly"
30+
timezone: "Asia/Tokyo"
31+
open-pull-requests-limit: 5
32+
cooldown:
33+
default-days: 7
34+
allow:
35+
- dependency-type: "direct"
36+
groups:
37+
composer-dependencies:
38+
patterns: [ "*" ]
39+
update-types: [ "major", "minor", "patch" ]
40+
composer-security:
41+
applies-to: security-updates
42+
patterns: [ "*" ]

0 commit comments

Comments
 (0)