1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Update self-hosted runner network connectivity check script examples (#51050)

Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
This commit is contained in:
Simon Giesemann
2024-06-11 09:16:18 +10:00
committed by GitHub
parent 741c6cdd50
commit 901d79ed11
2 changed files with 3 additions and 3 deletions

View File

@@ -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 %}

View File

@@ -1,3 +1,3 @@
```shell
./run.sh --check --url URL --pat ghp_abcd1234
./config.sh --check --url URL --pat ghp_abcd1234
```