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-06-24 10:21:07 -04:00

1.3 KiB

  1. Under {% ifversion fpt %}"Runners"{% else %}"Self-hosted runners"{% endif %}, 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.

  2. 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

  3. 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.