Skip to content

Commit

Permalink
lib/step: post comment to Sequoia bottling issue while waiting
Browse files Browse the repository at this point in the history
This will make it easier to work out that this is happened. Will require
permissions changes to CI in Homebrew/core.
  • Loading branch information
carlocab committed Sep 10, 2024
1 parent 6aaf6ed commit 45b685c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ def run(dry_run: false, fail_fast: false)
ENV["GITHUB_REPOSITORY_OWNER"]&.casecmp?("homebrew") &&
output.include?("LoadError") &&
output.include?("not a mach-o file")

url = GitHub.url_to("repos", "Homebrew", "homebrew-core", "issues", "184132", "comments")
data = '{"body":"ping @Bo98"}'
GitHub::API.open_rest(url, data:, request_method: "POST")

time_slept = 0
sleep_time = 300
sleep_for = 3600
Expand Down

0 comments on commit 45b685c

Please sign in to comment.