Skip to content

Chore: [AEA-0000] - Dependabot cooldown#487

Merged
anthony-nhs merged 3 commits intomainfrom
dependabot_cooldown
Mar 27, 2026
Merged

Chore: [AEA-0000] - Dependabot cooldown#487
anthony-nhs merged 3 commits intomainfrom
dependabot_cooldown

Conversation

@anthony-nhs
Copy link
Copy Markdown
Contributor

Summary

  • Routine Change

Details

  • add dependabot cooldown

Copilot AI review requested due to automatic review settings March 25, 2026 10:08
@github-actions
Copy link
Copy Markdown
Contributor

This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket:

AEA-0000

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

This PR introduces a Dependabot “cooldown” configuration to slow the cadence of update PRs, and also adds a scheduled GitHub Actions workflow to update the repo’s devcontainer version via a reusable workflow.

Changes:

  • Add cooldown.default-days: 3 to each configured Dependabot update ecosystem.
  • Add a scheduled/manual workflow to run update-dev-container-version from NHSDigital/eps-common-workflows.

Reviewed changes

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

File Description
.github/workflows/update_dev_container_version.yml Adds a scheduled workflow that calls a reusable workflow to update the devcontainer version.
.github/dependabot.yml Adds a 3-day cooldown to Dependabot update configurations.
Comments suppressed due to low confidence (1)

.github/dependabot.yml:74

  • This file ends with a whitespace-only line. Please remove the trailing whitespace/blank line so the YAML stays clean and avoids lint/formatting noise in future diffs.

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

Comment on lines +1 to +6
name: Update Devcontainer Version

on:
workflow_dispatch:
schedule:
- cron: "0 18 * * 4"
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

The PR description mentions only adding a Dependabot cooldown, but this workflow file is also introduced. Please either update the PR description to include the devcontainer update workflow, or move this workflow change into its own PR to keep scope clear.

Copilot uses AI. Check for mistakes.
- cron: "0 18 * * 4"

jobs:
update_devcontainer_version:
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

This repo pins NHSDigital/eps-common-workflows reusable workflows to the same commit SHA elsewhere, but this new workflow uses a different SHA. To avoid inconsistent behavior and simplify future upgrades, align this to the same pinned SHA used in the other workflow calls (or document why this workflow needs a different revision).

Suggested change
update_devcontainer_version:
update_devcontainer_version:
# Intentionally pinned to this specific revision of eps-common-workflows; this SHA may
# differ from other workflow calls in this repo because devcontainer updates rely on
# behavior introduced in this version.

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link
Copy Markdown

@anthony-nhs anthony-nhs merged commit 071d3c1 into main Mar 27, 2026
16 checks passed
@anthony-nhs anthony-nhs deleted the dependabot_cooldown branch March 27, 2026 14:18
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.

2 participants