renovate

Renovate Bot Schedule configuration for biweekly renovate PRs is not working


I've been trying to set the Renovate PRs to be created biweekly, or once a month, but the schedule does not seem to work. I've checked in the Renovate Docs, and the schedule I used does seem to follow the patterns of the docs, but no renovate PRs are being created.

I've tried these schedule configs in the renovate.json:

"schedule": ["every weekend"] // this works
"schedule": ["every 2 weeks"] // does not work
"schedule": ["before 4am on the first day of the month"], // does not work

Please let me know if you have any idea why it's not working, if you need other info, or share any schedule configs that work for you! I'd like to run it less frequently, since there's a lot of noise for ie. AWS SDK packages that are updates very often, and it's not really manageable for my team if multiple projects have weekly Renovate PRs..


Solution

  • I've fixed it by using a cron schedule, it seems the "natural language" schedules are not really reliable although the docs make them out to be..

    "schedule": ["* * 1 * *"]
    

    This schedule creates new renovate PRs on the first day of every month.