Skip to content

Commit 53a5c37

Browse files
authored
Enhance Dependabot configuration for package updates (#23)
1 parent 1d88326 commit 53a5c37

File tree

1 file changed

+104
-0
lines changed

1 file changed

+104
-0
lines changed

.github/dependabot.yml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Dependabot configuration for automated dependency updates
2+
# Documentation: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3+
4+
version: 2
5+
updates:
6+
# Main npm/pnpm dependencies
7+
- package-ecosystem: "npm"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
day: "monday"
12+
time: "06:00"
13+
timezone: "UTC"
14+
open-pull-requests-limit: 10
15+
reviewers:
16+
- "pederzh" # Replace with your GitHub username
17+
assignees:
18+
- "pederzh" # Replace with your GitHub username
19+
commit-message:
20+
prefix: "chore"
21+
prefix-development: "chore"
22+
include: "scope"
23+
labels:
24+
- "dependencies"
25+
- "automated"
26+
# Group related packages together
27+
groups:
28+
# LangChain ecosystem
29+
langchain-packages:
30+
patterns:
31+
- "@langchain/*"
32+
- "langchain"
33+
update-types:
34+
- "patch"
35+
- "minor"
36+
# TypeScript types
37+
typescript-types:
38+
patterns:
39+
- "@types/*"
40+
update-types:
41+
- "patch"
42+
- "minor"
43+
# ESLint ecosystem
44+
eslint-packages:
45+
patterns:
46+
- "eslint*"
47+
- "@antfu/eslint-config"
48+
update-types:
49+
- "patch"
50+
- "minor"
51+
# Development tools
52+
dev-tools:
53+
patterns:
54+
- "typescript"
55+
- "vitest"
56+
- "husky"
57+
- "lint-staged"
58+
update-types:
59+
- "patch"
60+
- "minor"
61+
# Utility libraries
62+
utilities:
63+
patterns:
64+
- "lodash-es"
65+
- "uuid"
66+
- "winston"
67+
- "dotenv"
68+
- "ws"
69+
update-types:
70+
- "patch"
71+
- "minor"
72+
# Schema and validation
73+
schema-validation:
74+
patterns:
75+
- "zod*"
76+
- "*json-schema*"
77+
update-types:
78+
- "patch"
79+
- "minor"
80+
# Ignore specific packages if needed
81+
ignore:
82+
# Example: ignore major updates for critical packages
83+
- dependency-name: "@modelcontextprotocol/sdk"
84+
update-types: ["version-update:semver-major"]
85+
# Example: ignore specific versions
86+
# - dependency-name: "some-package"
87+
# versions: ["1.x", "2.x"]
88+
89+
# GitHub Actions workflow dependencies
90+
- package-ecosystem: "github-actions"
91+
directory: "/"
92+
schedule:
93+
interval: "weekly"
94+
day: "monday"
95+
time: "06:00"
96+
timezone: "UTC"
97+
reviewers:
98+
- "pederzh" # Replace with your GitHub username
99+
commit-message:
100+
prefix: "ci"
101+
include: "scope"
102+
labels:
103+
- "github-actions"
104+
- "ci"

0 commit comments

Comments
 (0)