Pcornel
Automation · GitHub Actions

Self-hosted Runner

Cheat sheet · https://pcornel.dk/topic.php?topic=5524

Back to the Topic

Answer

Self-hosted runners are your own machines running the GitHub Actions runner agent, used for special hardware, private network access or cost. Do not use them for public repositories' untrusted pull requests.

Remember

  • Access to private networks.
  • Don't use for public repos' untrusted PRs.
  • Keep runners patched.

First checks

  • gh api repos/<o>/<r>/actions/runners — registered runners
  • systemctl status actions.runner.* — runner service
  • Ephemeral/JIT runners (actions-runner-controller) — isolation

Verify in this order

job → self-hosted runner → internal resources

Where it usually breaks

Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5524

Confirmation

Confirm action

Continue?