chore(security): add Dependabot cooldown, grouped updates, and use npm ci#48
Merged
Merged
Conversation
Copilot created this pull request from a session on behalf of
felickz
May 20, 2026 21:11
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR hardens dependency management by reducing Dependabot PR noise and making CI dependency installs reproducible via lockfile enforcement.
Changes:
- Switch GitHub Actions CI installs from
npm installtonpm cifor deterministic, lockfile-based installs. - Add Dependabot cooldown windows (
default-days: 3) for bothgithub-actionsandnpmecosystems. - Simplify
github-actionsDependabot grouping to a single wildcard group.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/build.yml |
Uses npm ci in CI to enforce package-lock.json fidelity and improve reproducibility. |
.github/dependabot.yml |
Adds cooldown windows and refactors grouping for GitHub Actions updates while keeping npm prod/dev grouping. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 0
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.
Hardens dependency management by adding Dependabot cooldown windows, rationalizing update groups, and switching CI to reproducible installs.
Dependabot (
dependabot.yml)cooldown: default-days: 3to bothgithub-actionsandnpmentries — reduces noise from same-day patch floodsgithub-actions: replaced granular production/dev groups with a single wildcard group (actions: patterns: ["*"]) since dependency-type is not meaningful for actionsnpm: existingproduction-dependencies/development-dependenciesgroups retained; cooldown addedCI (
build.yml)npm install→npm ci— enforces lock-file integrity, fails fast on drift, faster in CI cache scenarios