Skip to content

Commit 59437eb

Browse files
ci(deps): stop Dependabot writing titles the changelog cannot parse
Every Dependabot pull request so far has been titled "ci(deps)(deps): bump ...". `include: scope` appends (deps) or (deps-dev) to whatever prefix is configured, and the prefix already spelled it, so the two combined to produce a scope twice over — which the conventional-commits preset JReleaser generates the release notes with cannot group. The labels were wrong in the same quiet way: `maven` and `github-actions` do not exist in this repository, so Dependabot has only ever applied `dependencies`. Pointing at `java` and `github_actions`, which it created itself, makes the config describe what actually happens rather than adding two near-duplicates to the taxonomy. `build` rather than `chore` for a dependency bump: it is the Conventional Commits type for exactly that, and it is on the list CONTRIBUTING.md gives contributors, where `chore` never was.
1 parent 6e13a99 commit 59437eb

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
version: 2
2+
# `include: scope` appends (deps) or (deps-dev) to the prefix, so the prefix must
3+
# not spell the scope itself — doing both is what produced the ci(deps)(deps):
4+
# titles on every pull request so far, which the conventional-commits changelog
5+
# preset cannot group. The types match the ones CONTRIBUTING.md lists: a
6+
# dependency bump is `build` by the Conventional Commits definition, and a
7+
# workflow bump is `ci`.
28
updates:
39
- package-ecosystem: maven
410
directory: /
@@ -10,10 +16,10 @@ updates:
1016
open-pull-requests-limit: 10
1117
labels:
1218
- dependencies
13-
- maven
19+
- java
1420
commit-message:
15-
prefix: chore(deps)
16-
prefix-development: chore(deps-dev)
21+
prefix: build
22+
prefix-development: build
1723
include: scope
1824
- package-ecosystem: github-actions
1925
directory: /
@@ -25,7 +31,7 @@ updates:
2531
open-pull-requests-limit: 10
2632
labels:
2733
- dependencies
28-
- github-actions
34+
- github_actions
2935
commit-message:
30-
prefix: ci(deps)
36+
prefix: ci
3137
include: scope

0 commit comments

Comments
 (0)