Interview Prep/CI/CD/GitHub Actions

How do self-hosted runners register and receive jobs?

IntermediateConceptGitHub Actions
Answer

You download the runner application, run ./config.sh --url https://github.com/org/repo --token <registration-token> --labels gpu,linux --ephemeral, then ./run.sh or install it as a service. The runner opens an outbound HTTPS long-poll to GitHub and picks up jobs whose runs-on labels match; no inbound ports are needed. --ephemeral makes it take exactly one job then unregister, the recommended mode for security.

All CI/CD questions

More on GitHub Actions