Skip to content

chore(security): add Dependabot cooldown, grouped updates, and use npm ci#48

Merged
felickz merged 1 commit into
mainfrom
copilot/chore-add-dependabot-cooldown
Jun 1, 2026
Merged

chore(security): add Dependabot cooldown, grouped updates, and use npm ci#48
felickz merged 1 commit into
mainfrom
copilot/chore-add-dependabot-cooldown

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 20, 2026

Hardens dependency management by adding Dependabot cooldown windows, rationalizing update groups, and switching CI to reproducible installs.

Dependabot (dependabot.yml)

  • Added cooldown: default-days: 3 to both github-actions and npm entries — reduces noise from same-day patch floods
  • github-actions: replaced granular production/dev groups with a single wildcard group (actions: patterns: ["*"]) since dependency-type is not meaningful for actions
  • npm: existing production-dependencies / development-dependencies groups retained; cooldown added

CI (build.yml)

  • npm installnpm ci — enforces lock-file integrity, fails fast on drift, faster in CI cache scenarios

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 install to npm ci for deterministic, lockfile-based installs.
  • Add Dependabot cooldown windows (default-days: 3) for both github-actions and npm ecosystems.
  • Simplify github-actions Dependabot 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

Copy link
Copy Markdown
Collaborator

@felickz felickz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🤖🟢- Tests Pass

@felickz felickz merged commit 97cb7a4 into main Jun 1, 2026
7 checks passed
@felickz felickz deleted the copilot/chore-add-dependabot-cooldown branch June 1, 2026 16:33
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.

3 participants