Skip to content

Commit 5431a78

Browse files
aschemanJetBrains Junieclaude
committed
Add Dependabot for automated dependency updates
Configure daily dependency updates for pip (Python), GitHub Actions, and Docker ecosystems. Groups minor/patch updates to reduce PR noise and ignores major updates for elasticsearch and aiohttp. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: JetBrains Junie <noreply@jetbrains.com> Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3d5134c commit 5431a78

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#
2+
# Copyright 2025 The Apache Software Foundation
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
version: 2
18+
updates:
19+
# 1) Python dependencies defined in pyproject.toml (pip ecosystem)
20+
- package-ecosystem: "pip"
21+
directory: "/" # pyproject.toml is at repo root
22+
schedule:
23+
interval: "daily"
24+
time: "06:00"
25+
timezone: "UTC"
26+
open-pull-requests-limit: 10
27+
labels: ["dependencies", "python"]
28+
# Optional: group minor/patch updates to reduce PR noise
29+
groups:
30+
prod-deps:
31+
patterns: ["*"]
32+
update-types: ["minor", "patch"]
33+
# Avoid noisy majors that violate current constraints
34+
ignore:
35+
- dependency-name: "elasticsearch"
36+
update-types: ["version-update:semver-major"]
37+
- dependency-name: "aiohttp"
38+
update-types: ["version-update:semver-major"]
39+
40+
# 2) GitHub Actions workflow versions in .github/workflows
41+
- package-ecosystem: "github-actions"
42+
directory: "/"
43+
schedule:
44+
interval: "daily"
45+
time: "06:10"
46+
timezone: "UTC"
47+
labels: ["dependencies", "ci"]
48+
49+
# 3) Docker base images in Dockerfile(s) and docker-compose
50+
- package-ecosystem: "docker"
51+
directory: "/" # Dockerfile and docker-compose.yml at repo root
52+
schedule:
53+
interval: "daily"
54+
time: "06:20"
55+
timezone: "UTC"
56+
labels: ["dependencies", "docker"]

0 commit comments

Comments
 (0)