Skip to content

fix(ci): drop duplicated (deps) prefix in dependabot config#75

Merged
pratyush618 merged 2 commits intomasterfrom
chore/dependabot-scope
Apr 26, 2026
Merged

fix(ci): drop duplicated (deps) prefix in dependabot config#75
pratyush618 merged 2 commits intomasterfrom
chore/dependabot-scope

Conversation

@pratyush618
Copy link
Copy Markdown
Collaborator

Summary

Dependabot was producing PR titles like `chore(deps)(deps): bump tailwind-merge from 2.6.1 to 3.5.0` — the `(deps)` was doubled.

`include: scope` makes dependabot auto-append the ecosystem scope (`deps`, `deps-dev`), so the configured `prefix` must be the bare type. Three ecosystems (cargo / pip / npm) had `prefix: "chore(deps)"` + `include: scope`, producing the doubled rendering.

Now the rendered titles are clean — `chore(deps): bump X` for runtime deps and `chore(deps-dev): bump X` for dev deps.

While in here, anchored the now-identical `schedule` and `commit-message` blocks so the convention can't drift between ecosystems.

Test plan

  • `python3 -c "import yaml; …"` confirms every entry resolves to `prefix: chore` + `include: scope` (the `github-actions` entry intentionally keeps its own `chore(ci)` prefix without `include: scope`).
  • Next dependabot run renders titles as `chore(deps): …` instead of `chore(deps)(deps): …`.

@github-actions github-actions Bot added the ci label Apr 26, 2026
include: scope auto-appends the ecosystem scope, so the prefix must be
the bare type. Combining prefix: chore(deps) with include: scope rendered
titles as the doubled chore(deps)(deps): bump X. Anchored the now-shared
weekly schedule and commit-message blocks.
@pratyush618 pratyush618 force-pushed the chore/dependabot-scope branch from 943ec1d to 08293ec Compare April 26, 2026 00:28
Reverts the &weekly / &chore-deps-scoped anchors from the previous
commit — Dependabot's parser fails the file with 'YAML aliases are not
supported' (dependabot/dependabot-core#1582, open since 2019). Falls back
to manual duplication, which is the standard workaround. The actual fix
(prefix: chore instead of chore(deps)) is preserved.
@pratyush618 pratyush618 merged commit 2d540df into master Apr 26, 2026
18 checks passed
@pratyush618 pratyush618 deleted the chore/dependabot-scope branch April 26, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant