Skip to content
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

schedule.interval support cron expressions #6339

Open
jlosito opened this issue Dec 20, 2022 · 6 comments
Open

schedule.interval support cron expressions #6339

jlosito opened this issue Dec 20, 2022 · 6 comments
Labels
F: configuration-file Keep Exempt this from being marked by stalebot service 💁 Relates to Dependabot features GitHub provides T: feature-request Requests for new features

Comments

@jlosito
Copy link

jlosito commented Dec 20, 2022

I would like the ability to schedule dependabot, schedule.interval, on more options other than daily, weekly, and monthly.

For my use case specifically, I am looking for schedule it quarterly and semi-annually.

Rather than adding options quarterly and semi-annual, I believe it would be much better if dependabot were allowed to be scheduled using a cron expression to make it more generic. This would allow users to schedule it all kinds of different ways that better fit the user's needs.

@jlosito jlosito added the T: feature-request Requests for new features label Dec 20, 2022
@jlosito jlosito changed the title schedule.interval cron expression or more options schedule.interval cron expression Dec 20, 2022
@jeffwidman jeffwidman added service 💁 Relates to Dependabot features GitHub provides F: configuration-file labels Dec 22, 2022
@jeffwidman
Copy link
Member

Thanks for the idea.

@jeffwidman jeffwidman changed the title schedule.interval cron expression schedule.interval support cron expressions Feb 6, 2023
@ivan-penchev
Copy link

I have an similar issue as #2038 as I want to run it "biweekly".
Support on cron would be must appreciated.

@gildor
Copy link

gildor commented Jul 17, 2023

biweekly/fortnight is a pretty useful interval because many companies do 2-week sprints.
But I think cron is a much better and more flexible option.
I would suggest having schedule.cron property and fail if schedule.interval also present

@albertothedev
Copy link

Are there any updates regarding this? People have been asking for more scheduling options for years now. I have seen people ask for the ability to:

  1. Run it every weekday, but on a different schedule than Monday-to-Friday, as some countries have different working days in a week.
  2. Run it bi-weekly (every fortnight), to better conform to 2-week sprints which are commonplace when following SCRUM.
  3. Run it every day of the week, that is, on both weekdays and weekends.
  4. Run it quarterly or bi-annually, to avoid spam. Useful for projects that see little development but still need to be kept up to date.
  5. Run it on certain days of the week. For example, on every weekday except for Friday because the developers don't like updating dependencies on Fridays or because the company has a 4-day workweek and Fridays are not working days.

These reasons for wanting more customizability are only the ones I have seen. I'm sure there are more.

@jonjanego jonjanego added the Keep Exempt this from being marked by stalebot label May 2, 2024
@pawelryznar
Copy link

In the project I'm working on, we have some shared libraries, pipelines etc. If updates are running monthly then services are not getting the most recent shared library if that one was updated too on the same day. So scheduling would allow to bump versions in shared repositories a week before services update.

@NazimHAli
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F: configuration-file Keep Exempt this from being marked by stalebot service 💁 Relates to Dependabot features GitHub provides T: feature-request Requests for new features
Projects
None yet
Development

No branches or pull requests

8 participants