Skip to content

Commit 9ff90c1

Browse files
authored
Merge pull request #28 from IDilettant/dependabot-config
Update Dependabot config
2 parents 45b341c + b0206dc commit 9ff90c1

1 file changed

Lines changed: 47 additions & 6 deletions

File tree

.github/.dependabot.yml

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,63 @@
1+
---
2+
# Dependabot configuration
3+
#
4+
# This file configures automated dependency updates for a small Java/Gradle project.
5+
#
6+
# Goals:
7+
# - keep dependencies and Gradle plugins up to date with minimal noise
8+
# - keep GitHub Actions workflow updates separate from application dependencies
9+
# - batch minor and patch updates into a few focused PRs
10+
# - keep potentially breaking (major) updates visible as separate PRs
11+
#
12+
# Simplified grouping strategy for this project:
13+
# - One group for Gradle plugins (Spotless, Lombok, Shadow, Sonar, etc.)
14+
# - One catch-all group for all other Gradle dependencies (libraries, test stack)
15+
# - Major updates are not grouped and will be opened as separate PRs by default
16+
#
117
version: 2
218
updates:
19+
# 1) Keep GitHub Actions workflows up to date
320
- package-ecosystem: github-actions
4-
directory: /
21+
directory: / # Look for workflow files in the repo root
522
schedule:
623
interval: weekly
724
labels: [dependencies, automated, actions]
825
groups:
926
actions-minor-patch:
27+
# Group all non-breaking (minor + patch) updates into a single PR
1028
update-types: [minor, patch]
1129
actions-major:
30+
# Major updates are potentially breaking → separate PRs
1231
update-types: [major]
32+
# 2) Java / Gradle dependencies (libraries + plugins)
1333
- package-ecosystem: gradle
14-
directory: /
34+
directory: / # Root of the Gradle project
1535
schedule:
1636
interval: weekly
17-
labels: [dependencies, automated, java]
37+
labels: [dependencies, automated, gradle]
1838
groups:
19-
gradle-minor-patch:
39+
gradle-plugins-minor-patch:
40+
# Gradle plugins from the version catalog:
41+
# - io.freefair.lombok
42+
# - com.diffplug.spotless
43+
# - com.gradleup.shadow
44+
# - org.sonarqube
45+
# (and any other Gradle plugins you might add later)
46+
patterns:
47+
- io.freefair.lombok
48+
- com.diffplug.spotless
49+
- com.gradleup.shadow
50+
- org.sonarqube
51+
update-types: [minor, patch]
52+
gradle-deps-minor-patch:
53+
# All other Gradle dependencies (libraries, test stack, commons, etc.)
54+
# will be grouped together for minor + patch updates.
55+
#
56+
# Examples in this project:
57+
# - org.apache.commons:commons-lang3
58+
# - org.apache.commons:commons-collections4
59+
# - junit (via version catalog)
60+
#
61+
# Any major updates for these dependencies will be opened
62+
# as separate PRs by default.
2063
update-types: [minor, patch]
21-
gradle-major:
22-
update-types: [major]

0 commit comments

Comments
 (0)