Select the macOS runner before creating the release build matrix. Default to a self-hosted ARM64 Mac. With a repository runner-status credential, choose GitHub-hosted macOS when no matching runner is online and idle or when the lookup fails. MACOS_USE_HOSTED can force the hosted pool. Limit build jobs to read-only contents.
Validated the workflow with actionlint (its bundled label list predates the existing Ubuntu 26.04 jobs) and exercised the online, offline, busy, mismatched-label, missing-token, API-error and hosted-override cases.