mirror of
https://github.com/Homebrew/brew.git
synced 2026-08-12 22:29:27 +04:00
Merge pull request #23432 from Homebrew/SMillerDev-patch-1
Fix random time in tap-new
This commit is contained in:
@@ -163,8 +163,8 @@ module Homebrew
|
||||
YAML
|
||||
end
|
||||
# Pick a random 5 minute block in which to execute the autobump action to avoid peak GitHub loads
|
||||
hour = Random.rand(23)
|
||||
minute = Random.rand(11) * 5
|
||||
hour = Random.rand(24)
|
||||
minute = Random.rand(12) * 5
|
||||
workflow.gsub!("this will be changed later and randomised by brew tap-new") do
|
||||
"Every day at #{hour}:#{minute} UTC"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user