Skip to content

ci(deps): drop duplicate scope from dependabot commit prefixes - #115

Merged
kunallanjewar merged 1 commit into
mathomhaus:mainfrom
kunallanjewar:ci/dependabot-scope-prefix
Aug 18, 2026
Merged

ci(deps): drop duplicate scope from dependabot commit prefixes#115
kunallanjewar merged 1 commit into
mathomhaus:mainfrom
kunallanjewar:ci/dependabot-scope-prefix

Conversation

@kunallanjewar

Copy link
Copy Markdown
Contributor

Problem

Every dependabot PR fails the semantic PR title check:

Unknown scope "deps)(deps" found in pull request title
"chore(deps)(deps): bump the go-deps group across 1 directory with 5 updates"

.github/dependabot.yml sets commit-message.prefix: "chore(deps)" (which
already contains the scope) and include: scope, so dependabot appends a
second (deps) of its own. Same for the github-actions ecosystem with
chore(ci).

The check is not a required status, so these PRs were merged red (#100, #65).
That trains everyone to ignore a red check on the one PR class nobody reads
closely, which is the wrong habit for a dependency-update stream.

Fix

Drop include: scope from both ecosystems and keep the explicit prefixes.
Next dependabot PR titles become chore(deps): ... and chore(ci): ...,
both of which the title lint accepts.

A comment above updates: records why include: scope must not come back.

Verification

No code paths touched. The two open dependabot PRs were retitled by hand to
the post-fix shape (chore(deps): bump the go-deps group with 5 updates,
chore(ci): bump the actions group with 4 updates) and the title check went
green on both, which is the same string this config will now produce.

@kunallanjewar
kunallanjewar force-pushed the ci/dependabot-scope-prefix branch from 55dabac to 16e03f3 Compare August 18, 2026 16:54
@github-actions github-actions Bot added the area: ci CI / workflows / Makefile label Aug 18, 2026
@kunallanjewar
kunallanjewar force-pushed the ci/dependabot-scope-prefix branch from 16e03f3 to 1c4553e Compare August 18, 2026 17:02
commit-message.prefix already spells the full conventional-commit prefix
(chore(deps) / chore(ci)), and include: scope made dependabot append its
own scope on top. Every dependabot PR landed as chore(deps)(deps): ...,
which the PR-hygiene title lint rejects with 'Unknown scope deps)(deps'.
Both open dependabot PRs had that check red.

Drops include: scope from both ecosystems and leaves a note so it is not
re-added.
@kunallanjewar
kunallanjewar force-pushed the ci/dependabot-scope-prefix branch from 1c4553e to d4f951e Compare August 18, 2026 17:05
@kunallanjewar
kunallanjewar merged commit deb3694 into mathomhaus:main Aug 18, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI / workflows / Makefile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant