chore: add Dependabot config for cargo, npm, github-actions#8
Merged
StefanSteiner merged 1 commit intoMay 18, 2026
Merged
Conversation
Replaces "remember to run cargo search every few months" with weekly automated PRs across the three ecosystems this repo uses. Configuration choices and why: - **Weekly cadence.** Daily generates churn that crowds out human PRs; monthly misses urgent advisories. - **`open-pull-requests-limit`** capped per ecosystem (cargo: 5, npm: 3, gha: 3) to prevent an avalanche on first activation and on backlog catch-ups. - **`groups`** for lockstep dep families. Bumping `tonic` without `prost` is rarely useful, and arrow-rs ships `arrow` and `parquet` together at the same version. The four groups defined are: - `tonic-prost` (tonic*, prost*) - `arrow-parquet` (arrow, parquet) - `rustcrypto` (sha2, hmac, pbkdf2, md-5) - `napi-rs` (napi, napi-derive, napi-build) These mirror the way the dep-refresh PR (tableau#6) treated them as single logical bumps. - **`ignore`** entries skip semver-major bumps for deps whose major migration was explicitly deferred (see PR tableau#6's "Out of scope" section). Patch and minor bumps still flow through. Each entry is removed when we're ready to take that major. The list: - arrow, parquet (58 → 59 audit) - tonic, tonic-build, tonic-prost, tonic-prost-build, prost, prost-types (0.14 → 0.15 audit) - rmcp (1 → 2 audit) - napi, napi-derive, napi-build (3 → 4 audit, ties to napi runtime) - **npm scope** is `/hyperdb-api-node` only. The other package.json files in the tree are platform-binding shells whose deps are generated artifacts; pointing Dependabot at them yields no real upgrades. - **GitHub Actions scope** covers all `.github/workflows/*.yml` `uses:` references. The dep-refresh PR (tableau#6) just bumped cache@v5, release-please@v5, action-gh-release@v3; future majors will surface here automatically.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Dependabot
Summary
Replaces the manual ''remember to run `cargo search` every few months'' workflow with weekly automated PRs across the three ecosystems this repo uses (Cargo, npm, GitHub Actions). Single config file: `.github/dependabot.yml`.
This is a workflow change, not a dep change — the actual upgrade choices still happen in human-authored review of each Dependabot PR.
Config choices and reasoning
Weekly cadence on every ecosystem
Daily generates churn that crowds out human PRs; monthly misses urgent advisories. Weekly is the standard middle ground.
`open-pull-requests-limit` per ecosystem
Caps the firehose on first activation and on backlog catch-ups. Without a limit, the very first Dependabot run after merging this PR would open a PR per outdated dep simultaneously.
`groups` for lockstep dep families
Four cargo groups defined so logically-paired bumps arrive as a single PR rather than three to six separate ones:
This mirrors how PR #6 (the dep refresh) handled these families, so future Dependabot PRs follow the same shape we'd write by hand.
`ignore` entries skip semver-major bumps for deferred-major deps
Each entry below corresponds to a major migration we explicitly deferred per PR #6's ''Out of scope'' section. Patch and minor bumps still flow through unblocked — only majors are suppressed. The block comment in the file says: remove an entry when we're ready to take that major.
npm scope is `/hyperdb-api-node` only
Other `package.json` files in the tree (`/package.json`, `hyperdb-mcp/npm/`, `hyperdb-api-node/npm/`) are platform-binding shells whose deps are generated prebuild artifacts, not real upgradable packages. Pointing Dependabot at them yields no real PRs.
GitHub Actions scope covers all workflows
Future action-major bumps surface here automatically. PR #6 just bumped `cache@v5`, `release-please-action@v5`, `action-gh-release@v3` by hand — that won't be needed next time.
What you'll see after merge
Out of scope
Test plan