Skip to content

Commit 997acf5

Browse files
committed
Configure Dependabot to check for updates daily
Dependabot is used to keep the project dependencies updated. Dependabot periodically checks for available updates, and if found submits a pull request. The frequency of the update checks is configurable. Despite the name, the "daily" schedule configuration previously used actually only runs on weekdays. Maintenance of open source software projects is not necessarily limited to weekdays (and in the case of volunteer projects, is more likely to occur on weekends). So the weekday-ly update checks tended to result in a concentration of Dependabot pull requests on Mondays. This unnecessarily added to the busyness of an already busy day.
1 parent b54404a commit 997acf5

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ updates:
99
directory: /.github/workflows/
1010
open-pull-requests-limit: 100
1111
schedule:
12-
interval: daily
12+
cronjob: 0 12 * * *
13+
interval: cron
1314
labels:
1415
- "topic: infrastructure"
1516
assignees:
@@ -20,7 +21,8 @@ updates:
2021
directory: /workflow-templates/
2122
open-pull-requests-limit: 100
2223
schedule:
23-
interval: daily
24+
cronjob: 0 13 * * *
25+
interval: cron
2426
labels:
2527
- "topic: infrastructure"
2628
assignees:
@@ -30,7 +32,8 @@ updates:
3032
directory: /
3133
open-pull-requests-limit: 100
3234
schedule:
33-
interval: daily
35+
cronjob: 0 14 * * *
36+
interval: cron
3437
labels:
3538
- "topic: infrastructure"
3639
assignees:
@@ -40,7 +43,8 @@ updates:
4043
directory: /
4144
open-pull-requests-limit: 100
4245
schedule:
43-
interval: daily
46+
cronjob: 0 15 * * *
47+
interval: cron
4448
labels:
4549
- "topic: infrastructure"
4650
assignees:

workflow-templates/assets/dependabot/dependabot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ updates:
88
- package-ecosystem: github-actions
99
directory: /.github/workflows/
1010
schedule:
11-
interval: daily
11+
cronjob: 0 12 * * *
12+
interval: cron
1213
labels:
1314
- "topic: infrastructure"

0 commit comments

Comments
 (0)