Skip to content

Commit b0752d6

Browse files
authored
Merge pull request #438 from arii/feature/enhance-dependabot-config
Enhance Dependabot Configuration with Grouping and Schedule
2 parents db56f8f + 964cb43 commit b0752d6

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
version: 2
2+
updates:
3+
# 1. NPM Dependencies (The core of your app)
4+
- package-ecosystem: "npm"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "monday"
9+
time: "09:00"
10+
timezone: "America/Los_Angeles" # Aligned with your Bakersfield location
11+
12+
# LIMIT NOISE: Don't open more than 10 PRs at a time
13+
open-pull-requests-limit: 10
14+
15+
# STRATEGIC GROUPING (Crucial for React/MUI apps)
16+
groups:
17+
# Update React and Next.js together to avoid peer dependency warnings
18+
framework:
19+
patterns:
20+
- "next"
21+
- "react"
22+
- "react-dom"
23+
- "eslint-config-next"
24+
25+
# Update all MUI and Emotion packages together to ensure styling consistency
26+
mui:
27+
patterns:
28+
- "@mui/*"
29+
- "@emotion/*"
30+
31+
# Keep your testing suite verified together
32+
testing:
33+
patterns:
34+
- "@playwright/*"
35+
36+
# Group linting tools to avoid minor formatting diffs in separate PRs
37+
linting:
38+
patterns:
39+
- "eslint"
40+
- "eslint-*"
41+
- "prettier"
42+
- "@typescript-eslint/*"
43+
44+
# 2. GitHub Actions (Keeps your CI/CD pipeline secure)
45+
- package-ecosystem: "github-actions"
46+
directory: "/"
47+
schedule:
48+
interval: "monthly"

0 commit comments

Comments
 (0)