-
Notifications
You must be signed in to change notification settings - Fork 15
Predictable Dependabot #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,9 +8,11 @@ updates: | |
| - package-ecosystem: "cargo" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "monthly" | ||
| interval: "cron" | ||
| cronjob: "0 5 2 * *" # Second day of each month at 05:00 UTC | ||
|
||
|
|
||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "monthly" | ||
| interval: "cron" | ||
| cronjob: "0 5 2 * *" # Second day of each month at 05:00 UTC | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The field name
cronjobis not valid for Dependabot configuration. According to GitHub's Dependabot documentation, when usinginterval: "monthly", you should specifydayandtimefields instead. Dependabot does not support arbitrary cron expressions. The valid configuration would be:Note that this would run on the first day of the month. If you need to run on the first Sunday specifically, Dependabot's schedule configuration does not support that level of granularity - it only supports "first day of month" for monthly updates.
This issue also appears in the following locations of the same file:
See below for a potential fix: