chore(ci): enable Dependabot version updates#4000
Open
MRmarioruci wants to merge 3 commits into
Open
Conversation
Adds .github/dependabot.yml covering npm, cargo, github-actions, and docker. Weekly Mon staggered (08/09/10 UTC), aggressive L3 grouping collapsed to one PR per ecosystem with two carve-outs: - npm: bulk + @dfinity/* (IC-coupled release cadence) - cargo: bulk + pocket-ic (replica-coupled) Majors ignored — manual upgrade path. CODEOWNERS auto-requests reviews from @dfinity/identity. Commit prefix matches repo convention. Complements the toolchain workflow (#3998); this catches library drift before it becomes a security alert.
40f0c7f to
4d1fa41
Compare
|
✅ No security or compliance issues detected. Reviewed everything up to 2a10282. Security Overview
Detected Code Changes
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new .github/dependabot.yml so the repository gets regular (non-security) dependency update PRs across key ecosystems, reducing drift and catching issues earlier.
Changes:
- Adds Dependabot version-update configuration for Cargo, npm, GitHub Actions, and Docker.
- Sets weekly schedules (Mon) with grouping and carve-outs (
pocket-ic,@dfinity/*) and ignores semver-major updates. - Applies consistent commit-message prefixes (
chore(deps)/chore(deps-dev)).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
aterga
reviewed
Jun 11, 2026
| timezone: Etc/UTC | ||
| open-pull-requests-limit: 5 | ||
| commit-message: | ||
| prefix: "chore(deps)" |
Collaborator
There was a problem hiding this comment.
Can we factor out the common stuff like PR prefix?
Contributor
Author
There was a problem hiding this comment.
Not really. The dependabot yaml parser rejects things like anchors/aliases, shared defaults blocks etc.. dependabot/dependabot-core#1582. There are workarounds with scripts etc.. but seems too dirty to me for this.
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.
Problem
The repo runs Dependabot security updates (reactive, vulnerability-triggered) but has no
dependabot.yml, so version updates never fire. Deps drift forward silently and only surface once they become security issues — exactly whatupdate-deps.yml(#3998) does for the toolchain, but for libraries.Changes
.github/dependabot.ymlcovering 4 ecosystems (npm, cargo, github-actions, docker).@dfinity/*tied to IC release cadence).pocket-iccarve-out (replica-coupled).@dfinity/identity.chore(deps)/chore(deps-dev)to match repo convention.No auto-merge — every Dependabot PR gets human eyes on diff and CI before landing.
Tests