To better distribute Dependabot runs across the month and avoid all adapters updating on the same day, the Dependabot schedule now includes a specific day of the month for running updates.
The schedule configuration now includes a day parameter that specifies when in the month Dependabot should run:
Before:
schedule:
interval: monthly
time: "04:00"
timezone: Europe/BerlinAfter:
schedule:
interval: monthly
day: 15
time: "00:05"
timezone: Europe/BerlinTo update your existing .github/dependabot.yml file:
- Open
.github/dependabot.yml - For each update configuration (both
npmandgithub-actions), add adayparameter to the schedule section - Choose a day between 2 and 28 (avoiding day 1 and days beyond 28 to ensure the schedule works in all months)
- Update the
timeto"00:05"if you want to align with the new default time - Use the same day for all package ecosystems in your repository to keep updates synchronized
Example:
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: monthly
day: 15
time: "00:05"
timezone: Europe/Berlin
open-pull-requests-limit: 5
assignees:
- YOUR_NAME_HERE
versioning-strategy: increase
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
day: 15
time: "00:05"
timezone: Europe/Berlin
open-pull-requests-limit: 5
assignees:
- YOUR_NAME_HERETips:
- Choose any day between 2 and 28 for your repository
- Use the same day for all package ecosystems within a single repository
- Consider picking a day that works well with your maintenance schedule