-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
I'd like to propose distributing a dependabot.yml configuration to improve our dependency update process and strengthen supply-chain security.
We could have a dependabot or another label for maintainers to opt into this.
Why
- Dependabot keeps dependencies updated automatically.
- The
cooldownfield is particularly useful—it adds a delay before Dependabot creates PRs, giving security researchers and maintainers time to assess upstream releases before we pull them in. - This delay is valuable for mitigating supply-chain risks, such as those seen in recent npm incidents (e.g., compromised versions of
chalkcould have affectedcli).
Proposed dependabot.yml
version: 2
updates:
- package-ecosystem: "npm"
directories:
- "**/*"
schedule:
interval: "weekly"
cooldown:
default-days: 3
semver-major-days: 7
semver-minor-days: 5Caution
Our organization uses multiple ecosystems across repositories (e.g., npm, pnpm). Either we can add all package-ecosystem in the same file or just focus on npm. Need some advice on this.
Metadata
Metadata
Assignees
Labels
No labels