From daf1ded2cb461d9fd9a961b2f01656ad55825bc5 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Sat, 23 Nov 2024 07:09:57 +0800 Subject: [PATCH] workflows/autobump: adjust cron schedule The autobump workflow run for core can overlap with that for cask, which makes it easier to hit API rate limit. Let's adjust the cron schedule to reduce the chance of that happening. For reference, the autobump workflow for cask is scheduled for `23 */3 * * *` (every 3 hours, with an offset of 23 minutes). --- .github/workflows/autobump.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autobump.yml b/.github/workflows/autobump.yml index f51d2b6c52db6..74f10cc6ade4e 100644 --- a/.github/workflows/autobump.yml +++ b/.github/workflows/autobump.yml @@ -12,8 +12,8 @@ on: description: Custom list of formulae to livecheck and bump if outdated required: false schedule: - # Every 3 hours with an offset of 15 minutes - - cron: "15 */3 * * *" + # Every 3 hours from 1 through 23 with an offset of 45 minutes + - cron: "45 1-23/3 * * *" permissions: contents: read