Skip to content

Commit 4647c1b

Browse files
authored
Merge pull request #82 from tarosky/chore/dependabot-grouping
Dependabot: 更新を1本にグループ化してPR乱立を防ぐ
2 parents a11963f + 0f36451 commit 4647c1b

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ updates:
1111
cooldown:
1212
default-days: 7
1313
allow:
14-
- dependency-type: "direct" # 推移的依存の単体PRを止める
14+
- dependency-type: "direct" # 推移的依存の単体PRを止める(脆弱性は下の security グループで拾う)
1515
groups:
16-
dev-dependencies:
17-
dependency-type: "development"
18-
update-types: [ "minor", "patch" ]
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: [ "*" ]
1924

2025
# 本番依存(composer / vendorに同梱される側)
2126
- package-ecosystem: "composer"
@@ -28,3 +33,10 @@ updates:
2833
default-days: 7
2934
allow:
3035
- 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)