From 5a7f6c747e7204496b10b7ff4fec3ff932948d88 Mon Sep 17 00:00:00 2001 From: Daniel Mikusa Date: Thu, 3 Mar 2022 09:57:39 -0500 Subject: [PATCH] Adjust cron schedule for package dependencies At present, we are checking for package dependency updates M-F from 7-5PM EST. These are updates that bump dependency buildpacks in the composite buildpacks. Since we are only releasing composite buildpacks on Friday, we don't really need to run these update jobs all week. We also don't really need to run them every hour. The new plan is to have them run early morning UTC. This means that the jobs will have run after any changes we made Wed or Thu, and we should hopefully have all PRs ready to be merged on Friday. If there are out-of-band updates required, then a manual trigger of the update jobs could be done using the `gh` cli. Signed-off-by: Daniel Mikusa --- octo/package_dependencies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octo/package_dependencies.go b/octo/package_dependencies.go index 1f160f3e..032fecc5 100644 --- a/octo/package_dependencies.go +++ b/octo/package_dependencies.go @@ -126,7 +126,7 @@ func contributePackageDependency(descriptor Descriptor, name string, bpId string w := actions.Workflow{ Name: fmt.Sprintf("Update %s", filepath.Base(name)), On: map[event.Type]event.Event{ - event.ScheduleType: event.Schedule{{Minute: "0", Hour: "12-23", DayOfWeek: "1-5"}}, + event.ScheduleType: event.Schedule{{Minute: "0", Hour: "4", DayOfWeek: "3-4"}}, event.WorkflowDispatchType: event.WorkflowDispatch{}, }, Jobs: map[string]actions.Job{