dependabot.yml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. # Keep GitHub Actions up to date with GitHub's Dependabot...
  2. # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
  3. # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
  4. version: 2
  5. updates:
  6. # ============================================================
  7. # GitHub Actions
  8. # PR Strategy:
  9. # - All updates (major/minor/patch): Grouped into a single PR
  10. # ============================================================
  11. - package-ecosystem: github-actions
  12. directory: /
  13. groups:
  14. github-actions:
  15. patterns:
  16. - "*" # Group all Actions updates into a single larger pull request
  17. schedule:
  18. interval: weekly
  19. day: monday
  20. time: "02:00"
  21. timezone: "Asia/Shanghai"
  22. labels:
  23. - "dependencies"
  24. - "github-actions"
  25. open-pull-requests-limit: 2
  26. # ============================================================
  27. # Python (pip) Dependencies
  28. # PR Strategy:
  29. # - Major updates: Individual PR per package (except numpy which is ignored)
  30. # - Minor updates: Grouped by category (llm-providers, storage, etc.)
  31. # - Patch updates: Grouped by category
  32. # ============================================================
  33. - package-ecosystem: "pip"
  34. directory: "/"
  35. schedule:
  36. interval: "weekly"
  37. day: "wednesday"
  38. time: "02:00"
  39. timezone: "Asia/Shanghai"
  40. cooldown:
  41. default-days: 5
  42. semver-major-days: 30
  43. semver-minor-days: 7
  44. semver-patch-days: 3
  45. groups:
  46. # Core dependencies - LLM providers and embeddings
  47. llm-providers:
  48. patterns:
  49. - "openai"
  50. - "anthropic"
  51. - "google-*"
  52. - "boto3"
  53. - "botocore"
  54. - "ollama"
  55. update-types:
  56. - "minor"
  57. - "patch"
  58. # Storage backends
  59. storage:
  60. patterns:
  61. - "neo4j"
  62. - "pymongo"
  63. - "redis"
  64. - "psycopg*"
  65. - "asyncpg"
  66. - "milvus*"
  67. - "qdrant*"
  68. update-types:
  69. - "minor"
  70. - "patch"
  71. # Data processing and ML
  72. data-processing:
  73. patterns:
  74. - "numpy"
  75. - "scipy"
  76. - "pandas"
  77. - "tiktoken"
  78. - "transformers"
  79. - "torch*"
  80. update-types:
  81. - "minor"
  82. - "patch"
  83. # Web framework and API
  84. web-framework:
  85. patterns:
  86. - "fastapi"
  87. - "uvicorn"
  88. - "gunicorn"
  89. - "starlette"
  90. - "pydantic*"
  91. update-types:
  92. - "minor"
  93. - "patch"
  94. # Development and testing tools
  95. dev-tools:
  96. patterns:
  97. - "pytest*"
  98. - "ruff"
  99. - "pre-commit"
  100. - "black"
  101. - "mypy"
  102. update-types:
  103. - "minor"
  104. - "patch"
  105. # Minor and patch updates for everything else
  106. python-minor-patch:
  107. patterns:
  108. - "*"
  109. update-types:
  110. - "minor"
  111. - "patch"
  112. ignore:
  113. - dependency-name: "numpy"
  114. update-types:
  115. - "version-update:semver-major"
  116. labels:
  117. - "dependencies"
  118. - "python"
  119. open-pull-requests-limit: 5
  120. # ============================================================
  121. # Frontend (bun) Dependencies
  122. # PR Strategy:
  123. # - Major updates: Individual PR per package
  124. # - Minor updates: Grouped by category (react, ui-components, etc.)
  125. # - Patch updates: Grouped by category
  126. # ============================================================
  127. - package-ecosystem: "bun"
  128. directory: "/lightrag_webui"
  129. schedule:
  130. interval: "weekly"
  131. day: "friday"
  132. time: "02:00"
  133. timezone: "Asia/Shanghai"
  134. cooldown:
  135. default-days: 5
  136. semver-major-days: 30
  137. semver-minor-days: 7
  138. semver-patch-days: 3
  139. groups:
  140. # React ecosystem
  141. react:
  142. patterns:
  143. - "react"
  144. - "react-dom"
  145. - "react-router*"
  146. - "@types/react*"
  147. update-types:
  148. - "minor"
  149. - "patch"
  150. # UI components and styling
  151. ui-components:
  152. patterns:
  153. - "@radix-ui/*"
  154. - "tailwind*"
  155. - "@tailwindcss/*"
  156. - "lucide-react"
  157. - "class-variance-authority"
  158. - "clsx"
  159. update-types:
  160. - "minor"
  161. - "patch"
  162. # Graph visualization
  163. graph-viz:
  164. patterns:
  165. - "sigma"
  166. - "@sigma/*"
  167. - "graphology*"
  168. update-types:
  169. - "minor"
  170. - "patch"
  171. # Build tools and dev dependencies
  172. build-tools:
  173. patterns:
  174. - "vite"
  175. - "@vitejs/*"
  176. - "typescript"
  177. - "eslint*"
  178. - "@eslint/*"
  179. - "typescript-eslint"
  180. - "prettier"
  181. - "prettier-*"
  182. - "@types/bun"
  183. update-types:
  184. - "minor"
  185. - "patch"
  186. # Content rendering libraries (math, diagrams, etc.)
  187. content-rendering:
  188. patterns:
  189. - "katex"
  190. - "mermaid"
  191. update-types:
  192. - "minor"
  193. - "patch"
  194. # All other minor and patch updates
  195. frontend-minor-patch:
  196. patterns:
  197. - "*"
  198. update-types:
  199. - "minor"
  200. - "patch"
  201. labels:
  202. - "dependencies"
  203. - "frontend"
  204. open-pull-requests-limit: 5