{"repo":"some-natalie/runner-reaper","free":true,"listed":false,"github":"https://github.com/some-natalie/runner-reaper","clone":"git clone https://github.com/some-natalie/runner-reaper.git","description":"Remove offline self-hosted runners for GitHub Actions","language":"Python","stars":14,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Runner reaper for self-hosted GitHub Actions Runners This is a quick GitHub Action that leverages the API to forcefully unregister all offline self-hosted runners. Warning As you'd expect, this Action force-removes all offline self-hosted runners in the scope provided! It does not actually do anything to the runners (VMs, bare metal boxes, etc). This is useful if the runners are ephemeral containers and no longer exist. Inputs Name Description Options Defaults --- --- --- --- GITHUB PAT Personal access token (PAT) of the appropriate scope n/a, store as a secret n/a, store as a secret SCOPE TYPE Scope to remove offline self-hosted runners from \"repository\" \"organization\" \"enterprise\" \"repository\" SCOPE NAME Name of the repo (owner/repo), organization, or enterprise slug any string GITHUB REPOSITORY DRY RUN Whether this is a \"dry run\" that'll only print runners, instead of delete literally anything, it'll change any non-None value to True False FUZZY NAME String to match within the runner name any string (an empty string, which matches anything) :information source: The personal access token (PAT) assumes it can use GITHUB TOKEN , but may need additional permissions depending on what you're doing with it - outlined below. - \"repository\" = repo scope - \"organization\" = repo scope and the account must be an organization admin - \"enterprise\" = manage runners:enterprise and the account must be an enterprise admin :information source: The name matching works on matching a substring ","default_branch":null,"files":null,"tree":[],"storefront":"/r/some-natalie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/some-natalie/runner-reaper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}