From 901d79ed11c28e1c38bcbcbdda2423be0471f68f Mon Sep 17 00:00:00 2001 From: Simon Giesemann Date: Tue, 11 Jun 2024 09:16:18 +1000 Subject: [PATCH] Update self-hosted runner network connectivity check script examples (#51050) Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com> --- .../monitoring-and-troubleshooting-self-hosted-runners.md | 4 ++-- data/reusables/actions/self-hosted-runner-check-mac-linux.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md b/content/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md index b0afa43f12..4ca267c1c7 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners.md @@ -46,7 +46,7 @@ You may not be able to create a self-hosted runner for an organization-owned rep ### Checking self-hosted runner network connectivity -You can use the self-hosted runner application's `run` script with the `--check` parameter to check that a self-hosted runner can access all required network services on {% data variables.location.product_location %}. +You can use the self-hosted runner application's `config` script with the `--check` parameter to check that a self-hosted runner can access all required network services on {% data variables.location.product_location %}. In addition to `--check`, you must provide two arguments to the script: @@ -68,7 +68,7 @@ For example: {% windows %} ```powershell -run.cmd --check --url https://github.com/YOUR-ORG/YOUR-REPO --pat GHP_ABCD1234 +config.cmd --check --url https://github.com/YOUR-ORG/YOUR-REPO --pat GHP_ABCD1234 ``` {% endwindows %} diff --git a/data/reusables/actions/self-hosted-runner-check-mac-linux.md b/data/reusables/actions/self-hosted-runner-check-mac-linux.md index d40df35a4c..6adff71ba5 100644 --- a/data/reusables/actions/self-hosted-runner-check-mac-linux.md +++ b/data/reusables/actions/self-hosted-runner-check-mac-linux.md @@ -1,3 +1,3 @@ ```shell -./run.sh --check --url URL --pat ghp_abcd1234 +./config.sh --check --url URL --pat ghp_abcd1234 ```