Skip to content

fix(deps): one scope per commit message, not two - #10

Merged
anilcancakir merged 1 commit into
mainfrom
fix/dependabot-commit-prefix
Aug 30, 2026
Merged

fix(deps): one scope per commit message, not two#10
anilcancakir merged 1 commit into
mainfrom
fix/dependabot-commit-prefix

Conversation

@anilcancakir

Copy link
Copy Markdown
Contributor

What

Drops include: scope from the Dependabot buckets whose prefix already carries a scope.

Why

include: scope appends Dependabot's own (deps), so a prefix like chore(backend-deps) produces chore(backend-deps)(deps): bump .... The first bump under the new config landed exactly that shape.

wind's config header warned about this ("'include: scope' appends '(deps)' automatically, keep prefix parens-free") and its own example bucket did it anyway, so the same fix applies there.

Testing

Config parses; the affected buckets now carry a prefix and no include, the bare-prefix buckets keep it.

`include: scope` makes Dependabot append its own `(deps)` to whatever prefix it
is given, so a prefix that already carries a scope produces the doubled shape.
The first bump under the new config landed as
`chore(backend-deps)(deps): bump ...`, which is not a conventional commit and
not what the buckets with a plain `chore` prefix produce.

Dropped `include: scope` from every bucket whose prefix already names its scope,
and left it on the ones whose prefix is bare. wind's own config warned about
exactly this in its header comment and then did it anyway in the example bucket.
@anilcancakir
anilcancakir merged commit 84dbc4f into main Aug 30, 2026
6 checks passed
@anilcancakir
anilcancakir deleted the fix/dependabot-commit-prefix branch August 30, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant