From 3ee6816d8db51884d2dcd5b956cdc1f141a73dec Mon Sep 17 00:00:00 2001 From: Michael Zalimeni Date: Mon, 10 Jun 2024 18:28:54 -0400 Subject: [PATCH] ci: fix nightly cron schedules to run once (#21296) Several of our nightly cron jobs are actually running repeatedly back-to-back during the designated hour. Change the cron to run them once as intended. --- .github/workflows/nightly-test-integ-peering_commontopo.yml | 2 +- .github/workflows/nightly-test-integrations-1.15.x.yml | 2 +- .github/workflows/nightly-test-integrations-1.17.x.yml | 2 +- .github/workflows/nightly-test-integrations-1.18.x.yml | 2 +- .github/workflows/nightly-test-integrations-1.19.x.yml | 2 +- .github/workflows/nightly-test-integrations.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nightly-test-integ-peering_commontopo.yml b/.github/workflows/nightly-test-integ-peering_commontopo.yml index 84b8a97c1c..ce55159233 100644 --- a/.github/workflows/nightly-test-integ-peering_commontopo.yml +++ b/.github/workflows/nightly-test-integ-peering_commontopo.yml @@ -6,7 +6,7 @@ name: Nightly test integrations - peering_common_topo on: schedule: # Run nightly at 12AM UTC/8PM EST/5PM PST - - cron: '* 0 * * *' + - cron: '0 0 * * *' workflow_dispatch: {} env: diff --git a/.github/workflows/nightly-test-integrations-1.15.x.yml b/.github/workflows/nightly-test-integrations-1.15.x.yml index db6607bda5..5bef4c85fa 100644 --- a/.github/workflows/nightly-test-integrations-1.15.x.yml +++ b/.github/workflows/nightly-test-integrations-1.15.x.yml @@ -6,7 +6,7 @@ name: Nightly test-integrations 1.15.x on: schedule: # Run nightly at 1AM UTC/9PM EST/6PM PST - - cron: '* 1 * * *' + - cron: '0 1 * * *' workflow_dispatch: {} env: diff --git a/.github/workflows/nightly-test-integrations-1.17.x.yml b/.github/workflows/nightly-test-integrations-1.17.x.yml index c848c7f8fe..4bc89cab7c 100644 --- a/.github/workflows/nightly-test-integrations-1.17.x.yml +++ b/.github/workflows/nightly-test-integrations-1.17.x.yml @@ -6,7 +6,7 @@ name: Nightly test-integrations 1.17.x on: schedule: # Run nightly at 1AM UTC/9PM EST/6PM PST - - cron: '* 1 * * *' + - cron: '0 1 * * *' workflow_dispatch: {} env: diff --git a/.github/workflows/nightly-test-integrations-1.18.x.yml b/.github/workflows/nightly-test-integrations-1.18.x.yml index ee39c4f499..4ae1508c7a 100644 --- a/.github/workflows/nightly-test-integrations-1.18.x.yml +++ b/.github/workflows/nightly-test-integrations-1.18.x.yml @@ -6,7 +6,7 @@ name: Nightly test-integrations 1.18.x on: schedule: # Run nightly at 1AM UTC/9PM EST/6PM PST - - cron: '* 1 * * *' + - cron: '0 1 * * *' workflow_dispatch: {} env: diff --git a/.github/workflows/nightly-test-integrations-1.19.x.yml b/.github/workflows/nightly-test-integrations-1.19.x.yml index 876539046f..4648ec46b1 100644 --- a/.github/workflows/nightly-test-integrations-1.19.x.yml +++ b/.github/workflows/nightly-test-integrations-1.19.x.yml @@ -6,7 +6,7 @@ name: Nightly test-integrations 1.19.x on: schedule: # Run nightly at 1AM UTC/9PM EST/6PM PST - - cron: '* 1 * * *' + - cron: '0 1 * * *' workflow_dispatch: {} env: diff --git a/.github/workflows/nightly-test-integrations.yml b/.github/workflows/nightly-test-integrations.yml index bf914f8893..49fd9fc4e2 100644 --- a/.github/workflows/nightly-test-integrations.yml +++ b/.github/workflows/nightly-test-integrations.yml @@ -6,7 +6,7 @@ name: Nightly test-integrations on: schedule: # Run nightly at 12AM UTC/8PM EST/5PM PST - - cron: '* 0 * * *' + - cron: '0 0 * * *' workflow_dispatch: {} env: