-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
92 lines (87 loc) · 3.54 KB
/
Copy pathrenovate.json
File metadata and controls
92 lines (87 loc) · 3.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Sonory Monorepo用のRenovate設定。依存関係を安全に自動更新する。Lint・TypeScript・CI系は自動マージ、それ以外は手動レビューを前提とする。",
"extends": [
"config:base",
":semanticCommits",
":semanticCommitTypeAll(chore)",
":timezone(Asia/Tokyo)",
"group:monorepos",
"group:recommended"
],
"prHourlyLimit": 2,
"prConcurrentLimit": 5,
"labels": ["dependencies", "renovate"],
"rangeStrategy": "bump",
"enabledManagers": [
"npm",
"dockerfile",
"docker-compose",
"github-actions",
"poetry"
],
"packageRules": [
{
"matchManagers": ["npm"],
"groupName": "npm dependencies",
"description": "Node.js パッケージ(Next.js, Hono, 共通utilsなど)用。minor / patchのみ更新。主要依存は手動レビュー。",
"automerge": false,
"commitMessagePrefix": "chore(deps): ",
"updateTypes": ["minor", "patch"]
},
{
"matchManagers": ["dockerfile", "docker-compose"],
"groupName": "docker services",
"description": "DockerfileおよびCompose関連の更新。サービス破壊リスクを避けるため、手動レビュー必須。日曜夜のみスケジュール実行。",
"automerge": false,
"schedule": ["after 10pm and before 6am on sunday"],
"commitMessagePrefix": "chore(docker): "
},
{
"matchManagers": ["github-actions"],
"groupName": "github actions",
"description": "GitHub Actionsワークフロー更新。軽微な更新が多いため、自動マージを許可。",
"automerge": true,
"commitMessagePrefix": "chore(ci): ",
"updateTypes": ["minor", "patch"]
},
{
"matchManagers": ["poetry"],
"groupName": "python packages",
"description": "Python(FastAPI + YAMNet)環境の依存パッケージ。動作確認を要するため手動レビュー。",
"commitMessagePrefix": "chore(py): ",
"updateTypes": ["minor", "patch"],
"automerge": false
},
{
"matchPackageNames": ["typescript", "@types/*"],
"groupName": "typescript ecosystem",
"description": "TypeScript本体および型定義パッケージ。安全性が高いため自動マージを許可。",
"commitMessagePrefix": "chore(ts): ",
"automerge": true
},
{
"matchPackageNames": ["oxlint", "oxfmt"],
"groupName": "code quality tools",
"description": "コード品質系ツール(Oxlint, Oxfmt)。開発者体験に関わるが破壊的変更は稀なため、自動マージを許可。",
"commitMessagePrefix": "chore(lint): ",
"updateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchPackageNames": ["next", "react", "react-dom"],
"groupName": "frontend core",
"description": "Next.js / React の主要依存。影響範囲が広いため手動レビューが必須。",
"commitMessagePrefix": "fix(frontend): ",
"automerge": false
},
{
"matchDatasources": ["docker"],
"description": "Docker関連パッケージのバージョン指定ルール。minorとpatchをまとめて更新。",
"separateMinorPatch": false
}
],
"automergeType": "branch",
"prCreation": "not-pending",
"ignoreDeps": ["node", "npm"]
}