1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/data/reusables/github-actions/self-hosted-runner-removing-a-runner.md
2021-05-13 14:21:06 +10:00

1.5 KiB

{% if currentVersion == "free-pro-team@latest" %}

  1. Under Runners, locate the runner in the list. If your runner is in a group, click {% octicon "chevron-down" aria-label="The downwards chevron" %} to expand the list. {% else %}

  2. Under Self-hosted runners, locate the runner in the list. If your runner is in a group, click {% octicon "chevron-down" aria-label="The downwards chevron" %} to expand the list. {% endif %}

  3. Click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} next to the runner you want to remove, then click Remove.

    Removing a self-hosted runner setting

  4. You will see instructions for removing the self-hosted runner. Complete either of the following steps to remove the runner, depending on whether it is still accessible:

    • If you have access to the runner machine: Follow the on-screen instructions for your machine's operating system to run the removal command. The instructions include the required URL and an automatically-generated, time-limited token.

      The removal command does the following tasks:

      • Removes the runner from {% data variables.product.product_name %}.
      • Removes any self-hosted runner application configuration files on the machine.
      • Removes any services configured if not running in interactive mode.
    • If you don't have access to the machine: Click Yes, force remove this runner to force {% data variables.product.product_name %} to remove the runner.