Warning: Self-hosted runners are long-lived, and any compromise to the host machine could leak secrets or credentials or enable other attacks. For more information about the risks of using self-hosted runners, see "Security hardening for GitHub Actions." For more information about the management of access to GitHub Actions for your enterprise, see "Enforcing GitHub Actions policies for your enterprise."
Hosting your own runners
You can create self-hosted runners to run workflows in a highly customizable environment.