Skip to content

Commit 6fc82f8

Browse files
hemanandrclaude
andcommitted
feat: implement automated dependency management with Dependabot
- Add .github/dependabot.yml with comprehensive configuration * Weekly updates for NuGet, npm, and GitHub Actions * Intelligent grouping to reduce PR volume * Auto-assignment and labeling for efficient review * Security-focused handling for vulnerable packages - Create dependency management policy documentation * Clear merge criteria for patch/minor vs major updates * Security update response procedures (24h for critical) * Package categorization and grouping strategies * Troubleshooting guide for common issues - Add repository labels for dependency tracking * area:deps for all dependency-related PRs * type:maintenance for routine maintenance tasks Addresses ENV-07 requirements for automated dependency updates with GitHub-native Dependabot integration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent d32dda6 commit 6fc82f8

File tree

2 files changed

+411
-0
lines changed

2 files changed

+411
-0
lines changed

.github/dependabot.yml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
# Dependabot configuration for ThingConnect Pulse
2+
# Automates dependency updates for .NET and npm packages
3+
4+
version: 2
5+
updates:
6+
# .NET NuGet packages
7+
- package-ecosystem: "nuget"
8+
directory: "/ThingConnect.Pulse.Server"
9+
schedule:
10+
interval: "weekly"
11+
day: "tuesday"
12+
time: "09:00"
13+
timezone: "America/New_York"
14+
open-pull-requests-limit: 5
15+
reviewers:
16+
- "hemanandr"
17+
assignees:
18+
- "hemanandr"
19+
labels:
20+
- "area:deps"
21+
- "type:maintenance"
22+
commit-message:
23+
prefix: "deps"
24+
include: "scope"
25+
# Group minor and patch updates to reduce PR volume
26+
groups:
27+
microsoft-packages:
28+
patterns:
29+
- "Microsoft.*"
30+
- "System.*"
31+
update-types:
32+
- "minor"
33+
- "patch"
34+
serilog-packages:
35+
patterns:
36+
- "Serilog.*"
37+
update-types:
38+
- "minor"
39+
- "patch"
40+
ef-packages:
41+
patterns:
42+
- "Microsoft.EntityFrameworkCore.*"
43+
update-types:
44+
- "minor"
45+
- "patch"
46+
# Ignore specific packages that require manual updates
47+
ignore:
48+
- dependency-name: "Microsoft.AspNetCore.SpaProxy"
49+
# Lock to .NET 8 compatible versions
50+
- dependency-name: "StyleCop.Analyzers"
51+
# Locked to beta version for .NET 8 support
52+
rebase-strategy: "auto"
53+
54+
# Node.js npm packages (frontend)
55+
- package-ecosystem: "npm"
56+
directory: "/thingconnect.pulse.client"
57+
schedule:
58+
interval: "weekly"
59+
day: "tuesday"
60+
time: "10:00"
61+
timezone: "America/New_York"
62+
open-pull-requests-limit: 5
63+
reviewers:
64+
- "hemanandr"
65+
assignees:
66+
- "hemanandr"
67+
labels:
68+
- "area:deps"
69+
- "type:maintenance"
70+
- "area:frontend"
71+
commit-message:
72+
prefix: "deps(npm)"
73+
include: "scope"
74+
# Group updates by category to reduce PR volume
75+
groups:
76+
react-packages:
77+
patterns:
78+
- "react*"
79+
- "@types/react*"
80+
update-types:
81+
- "minor"
82+
- "patch"
83+
typescript-packages:
84+
patterns:
85+
- "typescript"
86+
- "@types/*"
87+
update-types:
88+
- "minor"
89+
- "patch"
90+
build-tools:
91+
patterns:
92+
- "vite*"
93+
- "@vitejs/*"
94+
- "eslint*"
95+
- "@typescript-eslint/*"
96+
- "prettier"
97+
update-types:
98+
- "minor"
99+
- "patch"
100+
chakra-ui:
101+
patterns:
102+
- "@chakra-ui/*"
103+
- "@emotion/*"
104+
update-types:
105+
- "minor"
106+
- "patch"
107+
# Security updates always create individual PRs
108+
ignore:
109+
# Ignore major React updates until manual testing
110+
- dependency-name: "react"
111+
update-types: ["version-update:semver-major"]
112+
- dependency-name: "react-dom"
113+
update-types: ["version-update:semver-major"]
114+
rebase-strategy: "auto"
115+
116+
# GitHub Actions workflows
117+
- package-ecosystem: "github-actions"
118+
directory: "/"
119+
schedule:
120+
interval: "weekly"
121+
day: "tuesday"
122+
time: "08:00"
123+
timezone: "America/New_York"
124+
open-pull-requests-limit: 2
125+
reviewers:
126+
- "hemanandr"
127+
assignees:
128+
- "hemanandr"
129+
labels:
130+
- "area:deps"
131+
- "type:maintenance"
132+
- "area:ci"
133+
commit-message:
134+
prefix: "deps(actions)"
135+
include: "scope"
136+
# Group action updates together
137+
groups:
138+
setup-actions:
139+
patterns:
140+
- "actions/checkout*"
141+
- "actions/setup-*"
142+
- "actions/upload-artifact*"
143+
update-types:
144+
- "minor"
145+
- "patch"
146+
rebase-strategy: "auto"

0 commit comments

Comments
 (0)