From 648d967867ac2b41f4cf9efbf017d308731750b7 Mon Sep 17 00:00:00 2001 From: John Marshall Date: Fri, 30 Oct 2026 11:34:29 +1300 Subject: [PATCH 1/2] Use absolute path for /etc/hosts for clarity --- content/actions/concepts/runners/github-hosted-runners.md | 2 +- data/reusables/actions/runners-etc-hosts-file.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/actions/concepts/runners/github-hosted-runners.md b/content/actions/concepts/runners/github-hosted-runners.md index 9795a7983ec7..84c5e3b42a12 100644 --- a/content/actions/concepts/runners/github-hosted-runners.md +++ b/content/actions/concepts/runners/github-hosted-runners.md @@ -116,7 +116,7 @@ If your workflows depend on network allowlists or Azure SDK credentials, running In addition, if the workflow run has been successfully queued, but has not been processed by a {% data variables.product.prodname_dotcom %}-hosted runner within 45 minutes, then the queued workflow run is discarded. -## The `etc/hosts` file +## The `/etc/hosts` file {% data reusables.actions.runners-etc-hosts-file %} diff --git a/data/reusables/actions/runners-etc-hosts-file.md b/data/reusables/actions/runners-etc-hosts-file.md index 837e25e8c558..a88287971aab 100644 --- a/data/reusables/actions/runners-etc-hosts-file.md +++ b/data/reusables/actions/runners-etc-hosts-file.md @@ -1 +1 @@ -{% data variables.product.prodname_dotcom %}-hosted runners are provisioned with an `etc/hosts` file that blocks network access to various cryptocurrency mining pools and malicious sites. Hosts such as MiningMadness.com and cpu-pool.com are rerouted to localhost so that they do not present a significant security risk. +{% data variables.product.prodname_dotcom %}-hosted runners are provisioned with a `/etc/hosts` file that blocks network access to various cryptocurrency mining pools and malicious sites. Hosts such as MiningMadness.com and cpu-pool.com are rerouted to localhost so that they do not present a significant security risk. From 37b5cf5c7e80693deaf6ac8aa8ed24ba7366ba24 Mon Sep 17 00:00:00 2001 From: subatoi <32935794+subatoi@users.noreply.github.com> Date: Fri, 30 Oct 2026 07:47:49 +0000 Subject: [PATCH 2/2] Apply suggestion from @subatoi --- data/reusables/actions/runners-etc-hosts-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/actions/runners-etc-hosts-file.md b/data/reusables/actions/runners-etc-hosts-file.md index a88287971aab..c8cca790f8dd 100644 --- a/data/reusables/actions/runners-etc-hosts-file.md +++ b/data/reusables/actions/runners-etc-hosts-file.md @@ -1 +1 @@ -{% data variables.product.prodname_dotcom %}-hosted runners are provisioned with a `/etc/hosts` file that blocks network access to various cryptocurrency mining pools and malicious sites. Hosts such as MiningMadness.com and cpu-pool.com are rerouted to localhost so that they do not present a significant security risk. +{% data variables.product.prodname_dotcom %}-hosted runners are provisioned with an `/etc/hosts` file that blocks network access to various cryptocurrency mining pools and malicious sites. Hosts such as MiningMadness.com and cpu-pool.com are rerouted to localhost so that they do not present a significant security risk.