Skip to content

fix: add conventional-commit prefix to dependabot PR titles - #11

Merged
dconlan merged 1 commit into
mainfrom
fix/dependabot-conventional-commit-prefix
Sep 3, 2026
Merged

fix: add conventional-commit prefix to dependabot PR titles#11
dconlan merged 1 commit into
mainfrom
fix/dependabot-conventional-commit-prefix

Conversation

@dconlan

@dconlan dconlan commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Dependabot's default PR titles ("Bump X from Y to Z") aren't Conventional Commits format, so every dependabot PR failed pr-title-lint the moment it went live on main — confirmed on #7, #8, #9, and #10, all of which failed the title check despite being safe, mergeable dependency bumps (all four retitled manually and re-verified green in the meantime).

Adds commit-message.prefix: chore to both ecosystems in .github/dependabot.yml, so future titles come out as chore(deps): bump X from Y to Z — passes the lint, and gives release-please the right commit type (a dependency bump is a chore, not a fix or feat).

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Dependabot's default titles ("Bump X from Y to Z") aren't Conventional
Commits format, so every dependabot PR failed pr-title-lint the moment
it went live on main - confirmed on PRs #7-10, all of which failed the
title check despite being safe, mergeable dependency bumps. Adding
commit-message.prefix makes titles "chore(deps): bump X from Y to Z",
which both passes the lint and gives release-please the right commit
type (chore - a CI/tooling dependency bump, not a fix or feature).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@dconlan
dconlan merged commit 3aaa1e5 into main Sep 3, 2026
4 checks passed
@dconlan
dconlan deleted the fix/dependabot-conventional-commit-prefix branch September 3, 2026 00:38
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