From d2cbd2c823378bae721e00f86f63bf1d69d05a7a Mon Sep 17 00:00:00 2001 From: marionbarker Date: Wed, 16 Jul 2025 08:19:14 -0700 Subject: [PATCH] avoid starting an action at xx:00 when GitHub resources are impacted --- .github/workflows/build_LoopFollow.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_LoopFollow.yml b/.github/workflows/build_LoopFollow.yml index 34971b619..447a6ce90 100644 --- a/.github/workflows/build_LoopFollow.yml +++ b/.github/workflows/build_LoopFollow.yml @@ -7,8 +7,9 @@ on: #push: schedule: - - cron: "0 12 * * 3" # Checks for updates at 12:00 UTC every Wednesday - - cron: "0 10 1 * *" # Builds the app on the 1st of every month at 10:00 UTC + # avoid starting an action at xx:00 when GitHub resources are impacted + - cron: "17 12 * * 3" # Checks for updates at 12:17 UTC every Wednesday + - cron: "17 10 1 * *" # Builds the app on the 1st of every month at 10:17 UTC env: UPSTREAM_REPO: loopandlearn/LoopFollow @@ -197,7 +198,7 @@ jobs: | # runs if started manually, or if sync schedule is set and enabled and scheduled on the first Saturday each month, or if sync schedule is set and enabled and new commits were found github.event_name == 'workflow_dispatch' || (needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' && - (vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '0 10 1 * *') || + (vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '17 10 1 * *') || (vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' ) ) steps: