Skip to content

Commit 0916f36

Browse files
committed
Add cooldown to dependabot example
1 parent 548c250 commit 0916f36

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

practices/actions-best-practices.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,12 @@ updates:
109109
directory: "/"
110110
schedule:
111111
interval: "weekly"
112+
cooldown:
113+
default-days: 7
112114
```
113115

116+
The `cooldown` option tells Dependabot to delay version updates for newly released versions until they have aged past the configured threshold. This reduces the chance of immediately pulling in a compromised release. Security updates are not subject to cooldown, so known vulnerabilities are still flagged immediately.
117+
114118
### Verify Third-Party Actions
115119

116120
Third-party actions must not be the default choice. Before introducing one, teams should confirm that the requirement cannot be met by:

0 commit comments

Comments
 (0)