Skip to content

Commit

Permalink
Throttle dependabot (mobilecoinfoundation#2874)
Browse files Browse the repository at this point in the history
The motivation for this is, dependabot may under various circumstances
decide to rebase and force push all its open branchs. With the current
configuration, that can cause 50 PRs to trigger CI all at once, which
effectively DOS'es the engineers from using CI.

This change will cut down the number of open dependabot PRs at any
point in time by about a factor of 5, so these force push events
will cause much less load on the cluster and engineers will not be
forced to manually cancel dependabot CI runs to get their work done.
  • Loading branch information
cbeck88 authored Nov 16, 2022
1 parent ea9878a commit ee1eb05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ updates:
interval: daily
time: "22:00"
timezone: "America/Los_Angeles"
open-pull-requests-limit: 25
open-pull-requests-limit: 5
labels:
- "blocks-v4.0.0"
- "dependencies"
Expand All @@ -17,7 +17,7 @@ updates:
interval: daily
time: "23:00"
timezone: "America/Los_Angeles"
open-pull-requests-limit: 5
open-pull-requests-limit: 2
labels:
- "blocks-v4.0.0"
- "dependencies"
Expand All @@ -28,7 +28,7 @@ updates:
interval: daily
time: "00:00"
timezone: "America/Los_Angeles"
open-pull-requests-limit: 5
open-pull-requests-limit: 2
labels:
- "blocks-v4.0.0"
- "dependencies"
Expand All @@ -39,7 +39,7 @@ updates:
interval: daily
time: "01:00"
timezone: "America/Los_Angeles"
open-pull-requests-limit: 5
open-pull-requests-limit: 2
labels:
- "blocks-v4.0.0"
- "dependencies"
Expand All @@ -50,7 +50,7 @@ updates:
interval: daily
time: "02:00"
timezone: "America/Los_Angeles"
open-pull-requests-limit: 5
open-pull-requests-limit: 2
labels:
- "blocks-v4.0.0"
- "dependencies"
Expand All @@ -61,4 +61,4 @@ updates:
interval: daily
time: "03:00"
timezone: "America/Los_Angeles"
open-pull-requests-limit: 10
open-pull-requests-limit: 2

0 comments on commit ee1eb05

Please sign in to comment.