Skip to content

Commit

Permalink
workflows/autobump: adjust cron schedule
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
ZhongRuoyu committed Nov 22, 2024
1 parent 83c3bf8 commit daf1ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autobump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit daf1ded

Please sign in to comment.