From 9f320004c99cdef51ef2eadf6ad9cf93aab84dd9 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Tue, 1 Apr 2025 16:06:55 -0400 Subject: [PATCH] stagger times Stagger the cron job times based on [this table](https://github.com/dotnet/docs-tools/tree/main/actions/sequester#staggering-times). Also, prevent the "nightly" run on the one night per month that the "full lookback" runs. These changes minimize the chances of rate limit errors. --- .github/workflows/quest-bulk.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/quest-bulk.yml b/.github/workflows/quest-bulk.yml index cff69481a0b..3441aeab0f5 100644 --- a/.github/workflows/quest-bulk.yml +++ b/.github/workflows/quest-bulk.yml @@ -1,8 +1,8 @@ name: "bulk quest import" on: schedule: - - cron: '0 10 * * *' # UTC time, that's 5:00 am EST, 2:00 am PST. - - cron: '0 9 6 * *' # This is the morning of the 6th. + - cron: '30 10 1-5,7-31 * *' # UTC time, that's 5:30 am EST, 2:30 am PST. + - cron: '30 10 6 * *' # This is the morning of the 6th. workflow_dispatch: inputs: reason: @@ -50,4 +50,4 @@ jobs: org: ${{ github.repository_owner }} repo: ${{ github.repository }} issue: '-1' - duration: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.duration || github.event.schedule == '0 9 6 * *' && -1 || 5 }} + duration: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.duration || github.event.schedule == '30 10 6 * *' && -1 || 5 }}