From f2af4a2804a47fb2805b358fc92a8279d800f731 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Mon, 21 Sep 2026 17:23:07 +0000 Subject: [PATCH] Reduce nightly build cadence (#64557) Reduce the nightly release workflow from six runs per day to two runs per day, at 02:00 and 14:00 UTC. Update both the workflow generator and generated workflow. Validated by regenerating workflows with `cargo xtask workflows`. Release Notes: - N/A --------- Co-authored-by: Amp --- .github/workflows/release_nightly.yml | 2 +- tooling/xtask/src/tasks/workflows/release_nightly.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 2ec6a4128e..1652e104b6 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -6,7 +6,7 @@ env: RUST_BACKTRACE: '1' on: schedule: - - cron: 0 */4 * * * + - cron: 0 2,14 * * * workflow_dispatch: {} permissions: contents: read diff --git a/tooling/xtask/src/tasks/workflows/release_nightly.rs b/tooling/xtask/src/tasks/workflows/release_nightly.rs index 4c18ba2136..2ec04776ec 100644 --- a/tooling/xtask/src/tasks/workflows/release_nightly.rs +++ b/tooling/xtask/src/tasks/workflows/release_nightly.rs @@ -49,8 +49,8 @@ pub fn release_nightly() -> Workflow { named::workflow() .with_minimal_permissions() .on(Event::default() - // Fire 6 times a day - .schedule([Schedule::new("0 */4 * * *")]) + // Fire twice a day at 02:00 and 14:00 UTC + .schedule([Schedule::new("0 2,14 * * *")]) .workflow_dispatch(WorkflowDispatch::default())) .concurrency( Concurrency::default()