Skip to content

Updates to Dependabot#716

Open
sophie-poole-nhs wants to merge 2 commits intomainfrom
chore/update-dependabot-config
Open

Updates to Dependabot#716
sophie-poole-nhs wants to merge 2 commits intomainfrom
chore/update-dependabot-config

Conversation

@sophie-poole-nhs
Copy link
Copy Markdown
Contributor

Description

  • Changes dependabot to run every wednesday and to group minor and patch updates.

Dependabot doesn't have a biweekly option but if the PR is left open it will get updated on the following wednesday.

  • Adds a cI pipeline which runs when a PR is opened that changes the package-lock.json or package.json files
  • Removes npm audit in favour of dependabot's security alerts

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

@sophie-poole-nhs sophie-poole-nhs requested a review from a team as a code owner April 29, 2026 07:53
Copilot AI review requested due to automatic review settings April 29, 2026 07:53
@sophie-poole-nhs sophie-poole-nhs changed the title VIA-1015 Updates to Dependabot Updates to Dependabot Apr 29, 2026
Copy link
Copy Markdown

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

Updates Dependabot cadence/grouping and replaces the previous npm-audit-based vulnerability check with a PR-time “dependency cooldown” gate for npm dependency changes.

Changes:

  • Configure Dependabot to run weekly on Wednesdays and group non-major npm updates (plus tweaks to ignore rules).
  • Add a new PR workflow that runs when package.json / package-lock.json change and enforces a dependency “cooldown” period.
  • Remove the scheduled workflow step that ran npm audit.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.

File Description
scripts/reports/check-dependency-cooldown.sh New script to detect changed dependencies (or all deps) and verify publish-age against a cooldown threshold.
.github/workflows/cicd-9-scheduled-assurance.yaml Removes the npm audit step previously run against the release branch.
.github/workflows/cicd-13-dependency-cooldown-check.yaml New PR workflow to install deps and run the cooldown check when npm manifests change.
.github/dependabot.yaml Moves updates to weekly Wednesday schedule; groups npm minor/patch updates; adjusts ignore rules and grouping strategy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/reports/check-dependency-cooldown.sh Outdated
Comment thread scripts/reports/check-dependency-cooldown.sh Outdated
Comment thread scripts/reports/check-dependency-cooldown.sh Outdated
Comment thread scripts/reports/check-dependency-cooldown.sh
Comment thread scripts/reports/check-dependency-cooldown.sh Outdated
Comment thread scripts/reports/check-dependency-cooldown.sh Outdated
Comment thread scripts/reports/check-dependency-cooldown.sh Outdated
Comment thread scripts/reports/check-dependency-cooldown.sh Outdated
- Changes dependabot to run every wednesday and to group minor and patch
  updates.
- Adds a cI pipeline which runs when a PR is opened that changes the
  package-lock.json or package.json files
- Removes npm audit in favour or dependabot's security alerts
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