Skip to content

Commit 88397e0

Browse files
authored
Configure cooldown (#678)
Add a cooldown period before accepting updates from Dependabot.
1 parent aaac705 commit 88397e0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • actions/dependabot-bot/src/dependabot-bot

actions/dependabot-bot/src/dependabot-bot/Program.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Please update the config file to conform with Dependabot's specification.
3838
interval: "weekly"
3939
day: "wednesday"
4040
open-pull-requests-limit: 10
41+
cooldown:
42+
default-days: 7
4143
""";
4244

4345
buffer.WriteLineToBufferAndOutput(gitHubActions, updateNodeCount++ >= UpdateNodeLimit);
@@ -52,6 +54,8 @@ Please update the config file to conform with Dependabot's specification.
5254
interval: ""weekly""
5355
day: ""wednesday""
5456
open-pull-requests-limit: 5
57+
cooldown:
58+
default-days: 7
5559
groups:
5660
# Group .NET updates together
5761
dotnet:
@@ -83,6 +87,8 @@ Please update the config file to conform with Dependabot's specification.
8387
interval: "weekly"
8488
day: "wednesday"
8589
open-pull-requests-limit: 5
90+
cooldown:
91+
default-days: 7
8692
groups:
8793
# Group .NET updates together for solutions.
8894
dotnet:
@@ -135,6 +141,8 @@ Please update the config file to conform with Dependabot's specification.
135141
interval: "weekly"
136142
day: "wednesday"
137143
open-pull-requests-limit: 5
144+
cooldown:
145+
default-days: 7
138146
groups:
139147
# Group .NET updates together for projects.
140148
dotnet:

0 commit comments

Comments
 (0)