Skip to content

ci(dependabot): add 7-day cooldown for version updates - #354

Merged
SoulPancake merged 1 commit into
mainfrom
siddhant-k-code-dependabot-7-day-cooldown
Dec 2, 2026
Merged

SoulPancake merged 1 commit into
mainfrom
siddhant-k-code-dependabot-7-day-cooldown

Conversation

@Siddhant-K-code

@Siddhant-K-code Siddhant-K-code commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a 7-day cooldown to every Dependabot version-update entry. With this change, Dependabot only proposes releases that are at least a week old, giving the ecosystem time to catch poisoned or compromised releases before they reach a PR.

  • Security updates are not delayed. Cooldown only applies to version updates, so CVE fixes still come through right away.

Why

Supply-chain attacks via compromised or poisoned package releases have been increasing, and malicious versions are usually detected and pulled within days of publication.
GitHub has applied a 3-day cooldown by default since July 2026 (changelog); 7 days gives a wider safety margin.

Changes

In .github/dependabot.yaml:

  • pip at /
  • pip at /example/example1
  • github-actions at /

Docs

https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#cooldown-

Summary by CodeRabbit

  • Chores
    • Automated dependency updates for Python packages and GitHub Actions now observe a seven-day cooldown before updates are proposed. This applies to the main project and the example project.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Siddhant-K-code
Siddhant-K-code requested a review from a team as a code owner December 1, 2026 11:20
Copilot AI adaptive review requested due to automatic review settings December 1, 2026 11:20
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The root pip, /example/example1 pip, and root github-actions Dependabot update configurations now set a default cooldown of 7 days.

Changes

Dependabot cooldowns

Layer / File(s) Summary
Add cooldown defaults
.github/dependabot.yaml
The root pip, /example/example1 pip, and root github-actions update configurations each set a default cooldown of 7 days.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: rhamzeh, soulpancake

Merge Risk: Minimal · up to 97a62

This change delays Dependabot version-update pull requests by seven days after a release. It does not touch application code and is easy to revert. It is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: adding a 7-day cooldown to Dependabot version updates. The raw summary confirms that the root pip, /example/example1 pip, and root github-actions entries in .github/de…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: adding a 7-day cooldown to Dependabot version updates. The raw summary confirms that the root pip, /example/example1 pip, and root github-actions entries in .github/dependabot.yaml each gained a 7-day cooldown. The PR objectives describe the same change. The title follows the conventional commit style and stays concise and specific.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 315259cc-d275-45a6-97a2-59d51400aa6e
Commits

Reviewing files that changed from the base of the PR and between 60caaa5 and 97a6233.

Files selected for processing: 1

  • .github/dependabot.yaml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@codecov-commenter

codecov-commenter commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.82%. Comparing base (60caaa5) to head (97a6233).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #354   +/-   ##
=======================================
  Coverage   70.82%   70.82%           
=======================================
  Files         143      143           
  Lines       10863    10863           
=======================================
  Hits         7694     7694           
  Misses       3169     3169           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified in the supplied evidence, and the configuration changes consistently add the intended seven-day cooldown while leaving security updates unaffected.

No open issues 🎉

What changed in this PR

Adds a seven-day Dependabot cooldown to version-update configurations to reduce exposure to newly published compromised packages while leaving security updates unaffected.

Changes:

  • Applies default-days: 7 to the root pip configuration.
  • Applies the same cooldown to the example pip configuration.
  • Adds the same cooldown to the github-actions configuration.
File Description
.github/​dependabot.yaml Adds seven-day cooldown settings to the root pip, example pip, and GitHub Actions Dependabot update configurations.

Review effort: Lite (adaptive)

@SoulPancake
SoulPancake added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 5c17872 Dec 2, 2026
41 checks passed
@SoulPancake
SoulPancake deleted the siddhant-k-code-dependabot-7-day-cooldown branch December 2, 2026 03:58
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.

4 participants