From 997acf5eb5a7fb1f8f11c5641f5a172bc84420cd Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 2 Jun 2025 00:24:38 -0700 Subject: [PATCH] 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. --- .github/dependabot.yml | 12 ++++++++---- workflow-templates/assets/dependabot/dependabot.yml | 3 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ccec290c..8354ede1 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,8 @@ updates: directory: /.github/workflows/ open-pull-requests-limit: 100 schedule: - interval: daily + cronjob: 0 12 * * * + interval: cron labels: - "topic: infrastructure" assignees: @@ -20,7 +21,8 @@ updates: directory: /workflow-templates/ open-pull-requests-limit: 100 schedule: - interval: daily + cronjob: 0 13 * * * + interval: cron labels: - "topic: infrastructure" assignees: @@ -30,7 +32,8 @@ updates: directory: / open-pull-requests-limit: 100 schedule: - interval: daily + cronjob: 0 14 * * * + interval: cron labels: - "topic: infrastructure" assignees: @@ -40,7 +43,8 @@ updates: directory: / open-pull-requests-limit: 100 schedule: - interval: daily + cronjob: 0 15 * * * + interval: cron labels: - "topic: infrastructure" assignees: diff --git a/workflow-templates/assets/dependabot/dependabot.yml b/workflow-templates/assets/dependabot/dependabot.yml index 03b0e93f..8ae70fc4 100644 --- a/workflow-templates/assets/dependabot/dependabot.yml +++ b/workflow-templates/assets/dependabot/dependabot.yml @@ -8,6 +8,7 @@ updates: - package-ecosystem: github-actions directory: /.github/workflows/ schedule: - interval: daily + cronjob: 0 12 * * * + interval: cron labels: - "topic: infrastructure"