Skip to content

Commit 3e39a51

Browse files
committed
Dependabot/gh-actions: move to bi-weekly schedule
👉 Important: this is for **version** updates only, not for security updates, which are handled separately and don't depend on this configuration. --- PR 1273 updated the GitHub Actions workflows used in this repo to use "pinned" versions for external action runners to improve workflow security. The net result of this, is that Dependabot now sends PRs to all repos I (co-)maintain on a weekly basis for most repos. As the default day for the "weekly" interval is _Monday_ and most repos don't change this, it means that Dependabot has a huge queue on Mondays and that PRs come in bit by bit throughout the day and even spill over into Tuesday. This constant stream of low level/easy PRs to merge is disruptive and time consuming, especially as I can't just go through them all in one go. As these updates are rarely time-sensitive, it should be fine to receive them less frequently. This commit tries to make it so by changing the Dependabot schedule for GitHub Actions to once every two weeks and late in the day when the queue should be mostly empty (as long as it's not a Monday), which should mean that if I apply this same change to all repos I am involved with, all these Dependabot PRs should come in around the same time.
1 parent 720868e commit 3e39a51

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ updates:
99
- package-ecosystem: "github-actions"
1010
directory: "/"
1111
schedule:
12-
interval: "weekly"
12+
interval: "cron"
13+
cronjob: "10 22 5,20 * *" # At 22:10, every 5th and 20th day of the month.
1314
target-branch: "3.x"
1415
open-pull-requests-limit: 5
1516
commit-message:
@@ -27,7 +28,8 @@ updates:
2728
- package-ecosystem: "github-actions"
2829
directory: "/"
2930
schedule:
30-
interval: "weekly"
31+
interval: "cron"
32+
cronjob: "10 22 5,20 * *" # At 22:10, every 5th and 20th day of the month.
3133
target-branch: "gh-pages"
3234
open-pull-requests-limit: 5
3335
commit-message:

0 commit comments

Comments
 (0)