Script
install-runner.sh
Installs and registers the self-hosted macOS runner as a launchd service. Safe to re-run.
Downloads the latest GitHub Actions runner for the machine’s architecture, registers it against the control repo with a registration token from the gh CLI, and installs it as a launchd service.
Override the defaults with REPO, RUNNER_NAME, RUNNER_DIR and LABELS. It is macOS only and needs the gh CLI with repo admin rights.