shapehq / tartelet

⚙️💻 A macOS app that makes it a breeze to manage multiple GitHub Actions runners in ephemeral virtual machines on a single host machine. The benefits are that runners can run in parallel, and each job runs in an isolated environment.
MIT License
510 stars 17 forks source link

Use curl HEAD request to determine github's availability #60

Closed xavierLowmiller closed 8 months ago

xavierLowmiller commented 8 months ago

Description

Changes the Github availability check from ping to curl: In some circumstances, ping may be blocked, but curl works just fine. Since we use curl later in the script to download the runner, this PR updates the check to use a HEAD request to determine Github's availability.

Additional Information

xavierLowmiller commented 8 months ago

Thank you!