Skip to content

ci(deps): add dependabot config with grouped docs lockfile updates - #356

Merged
glennko merged 1 commit into
mainfrom
chore/dependabot-grouping
Sep 3, 2026
Merged

ci(deps): add dependabot config with grouped docs lockfile updates#356
glennko merged 1 commit into
mainfrom
chore/dependabot-grouping

Conversation

@glennko

@glennko glennko commented Sep 3, 2026

Copy link
Copy Markdown
Member

Why

There is no .github/dependabot.yml in the repo, so Dependabot has been running on defaults: one PR per package against a single ~30k-line docs/package-lock.json.

That produced the mess untangled today — twelve open docs PRs that conflicted with each other and with the hand-written lockfile refresh in #342. Each merge put the rest BEHIND, and three (#353, #354, #355) turned out to be no-ops by the time they were looked at, because #342 had already carried their target versions.

What this does

  • Groups all /docs npm minor + patch bumps into one PR per week (Mondays), so the lockfile is rewritten once per cycle instead of once per package.
  • Caps concurrent docs PRs at 3.
  • Leaves majors ungrouped, so a breaking bump still gets its own PR and its own review.
  • Groups github-actions bumps too — low volume, but same reasoning.
  • Sets build(deps) / ci(deps) commit prefixes to match existing history, and adds dependencies labels.

Scope note

docs/package.json is private: true and never published, so everything grouped here is build-time only and never reaches users of the Python package. That's what makes weekly batching the right tradeoff rather than per-package immediacy.

Validated: the YAML parses and both ecosystem entries resolve as expected.

There was no .github/dependabot.yml, so Dependabot ran on defaults and
opened one PR per package against docs/package-lock.json. Twelve such
PRs accumulated; they conflicted with each other and with hand-written
lockfile work (#342), and each merge forced the rest to rebase. Three
were already redundant by the time they were reviewed.

Group all docs npm minor/patch bumps into a single weekly PR so the
lockfile is only rewritten once per cycle, and cap concurrent PRs at 3.
Majors stay ungrouped so they still get individual review.

Also groups github-actions bumps, which are low volume.

Note the docs site is `private: true` and never published, so these are
build-time dependencies only.
@glennko
glennko merged commit 5e96f4e into main Sep 3, 2026
5 checks passed
@glennko
glennko deleted the chore/dependabot-grouping branch September 3, 2026 05:15
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