Skip to content

ci(dependabot): require 7-day cooldown for dependency upgrades#8

Merged
mergify[bot] merged 1 commit into
mainfrom
devs/kozlek/ci/dependabot-cooldown/require-7-day-cooldown-dep-upgrades--461c90c6
May 22, 2026
Merged

ci(dependabot): require 7-day cooldown for dependency upgrades#8
mergify[bot] merged 1 commit into
mainfrom
devs/kozlek/ci/dependabot-cooldown/require-7-day-cooldown-dep-upgrades--461c90c6

Conversation

@kozlek
Copy link
Copy Markdown
Contributor

@kozlek kozlek commented May 22, 2026

Mitigate supply chain attacks by waiting 7 days before adopting any new dependency release. Most compromised packages are detected and yanked within hours-to-days of publication, so a release-age delay catches the overwhelming majority of malicious releases.

Security updates bypass this delay automatically — Dependabot's cooldown option is documented as "only available for version updates, not security updates", so CVE fixes still ship without waiting.

Mirrors the equivalent change in the Mergify monorepo (which uses Renovate's minimumReleaseAge): Mergifyio/mergify#31013.

Change-Id: I461c90c61766120c739c8b3b7c5b2aa3161fbf76
Copilot AI review requested due to automatic review settings May 22, 2026 08:19
@mergify mergify Bot deployed to Mergify Merge Protections May 22, 2026 08:19 Active
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 22, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Approval

Wonderful, this rule succeeded.
  • #approved-reviews-by >= 2

🟢 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = test (3.1)
    • check-success = test (3.2)
    • check-success = test (3.3)
    • check-success = test (3.4)

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@mergify mergify Bot requested a review from a team May 22, 2026 08:20
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 updates the repository’s Dependabot configuration to introduce a 7-day cooldown period for dependency update pull requests, aiming to reduce the frequency of upgrade PRs while keeping the daily check schedule.

Changes:

  • Added a cooldown configuration with default-days: 7 for Bundler updates.
  • Added the same cooldown configuration for GitHub Actions updates.
Comments suppressed due to low confidence (1)

.github/dependabot.yml:19

  • Same concern as above: please confirm cooldown is a supported Dependabot config key for github-actions updates; otherwise this may invalidate the config and halt updates. If the intent is weekly updates, setting schedule.interval: weekly is the safest built-in approach.
    cooldown:
      default-days: 7

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

Comment thread .github/dependabot.yml
@kozlek kozlek marked this pull request as ready for review May 22, 2026 08:24
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 22, 2026

Merge Queue Status

  • Entered queue2026-05-22 09:52 UTC · Rule: default
  • Checks skipped · PR is already up-to-date
  • Merged2026-05-22 09:53 UTC · at 78eec1f05bd9dcc90aedeeef642680231e052d14 · squash

This pull request spent 19 seconds in the queue, including 4 seconds running CI.

Required conditions to merge

@mergify mergify Bot merged commit 17c8a14 into main May 22, 2026
10 checks passed
@mergify mergify Bot deleted the devs/kozlek/ci/dependabot-cooldown/require-7-day-cooldown-dep-upgrades--461c90c6 branch May 22, 2026 09:53
@mergify mergify Bot added queued and removed queued labels May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants