Skip to content

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

Open
Siddhant-K-code wants to merge 1 commit into
mainfrom
siddhant-k-code-dependabot-7-day-cooldown
Open

Siddhant-K-code wants to merge 1 commit into
mainfrom
siddhant-k-code-dependabot-7-day-cooldown

Conversation

@Siddhant-K-code

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

Copy link
Copy Markdown
Member

Summary

Adds a 7-day cooldown to every Dependabot version-update entry, so Dependabot only proposes releases that are at least a week old.

Why

Supply-chain attacks through poisoned or compromised package releases keep increasing, and malicious versions are usually detected and pulled within days. Waiting a week gives the ecosystem time to catch them before they reach a PR.
GitHub has applied a 3-day cooldown by default since July 2026 (changelog); 7 days gives a wider safety margin.

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

Changes

  • .github/dependabot.yaml: cooldown.default-days: 7 added to all 3 entries: gomod (/, /cmd/fga), github-actions (/). No other config changes.

Docs: Dependabot cooldown option

Part of an org-wide rollout across OpenFGA repos (e.g. openfga/openfga#3462, openfga/js-sdk#518, openfga/python-sdk#354).

Summary by CodeRabbit

  • Chores
    • Automated update checks for Go modules and GitHub Actions now wait seven days before proposing updates. This helps space out routine maintenance changes.

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 4, 2026 13:43
Copilot AI balanced review requested due to automatic review settings December 4, 2026 13:43
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Dependabot configuration adds a default cooldown of 7 days for updates to the root Go module, the /cmd/fga Go module, and GitHub Actions.

Changes

Dependabot cooldown settings

Layer / File(s) Summary
Set default cooldowns
.github/dependabot.yaml
The root Go module, /cmd/fga Go module, and 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

Merge Risk: Minimal · up to fc31b

This change delays Dependabot version-update pull requests until releases have been available for a week. It does not change runtime behavior. The change is low risk to merge and easy to revert.

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: a 7-day cooldown for Dependabot version updates. The raw summary confirms that the gomod entries for the root module and /cmd/fga and the github-actions entry each set…
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: a 7-day cooldown for Dependabot version updates. The raw summary confirms that the gomod entries for the root module and /cmd/fga and the github-actions entry each set cooldown.default-days to 7. The title uses the conventional-commit form and is specific enough for a teammate to identify the primary change from history.

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: 9ce77258-16e4-49e1-ab72-1d602965b0db
Commits

Reviewing files that changed from the base of the PR and between f232b2a and fc31bc7.

Files selected for processing: 1

  • .github/dependabot.yaml

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

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

There are no active review issues for the change adding a seven-day Dependabot cooldown.

No open issues 🎉

What changed in this PR

Adds a seven-day Dependabot cooldown to reduce exposure to newly published dependency releases.

Changes:

  • Applies cooldown.default-days: 7 to both Go module entries and the GitHub Actions entry.
  • Preserves existing weekly schedules and dependency grouping.
File Description
.github/​dependabot.yaml Adds a seven-day cooldown to all three version-update entries.

Review effort: Balanced

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