imshakil/RunnerWatch

RunnerWatch — Instantly detect available self-hosted runners and fail fast when none are online.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub token with permission to list self-hosted runners. Defaults to the workflow token (GITHUB_TOKEN) when scope is repo. For org scope, provide a PAT or app token with org admin:manage_runners.no${{ github.token }}
scopeWhere to look for runners. `repo` checks runners registered on the current repository, `org` checks all runners in the organization.norepo
orgOrganization name. Required when scope=org. Defaults to the owner of the current repository when it is an org.no""
ownerRepository owner (user or org). Only used when scope=repo. Leave empty to default to the owner of the repo running the workflow.no""
repoRepository name. Only used when scope=repo. Leave empty to default to the repo running the workflow. Override this when checking runners on a different repository.no""
labelsComma-separated list of labels. Only runners that have ALL of these labels will be considered. Leave empty to ignore labels.no""
namesComma-separated list of runner names. Only runners whose name appears in this list will be considered. Leave empty to ignore names.no""
fail-on-offlineWhen `true`, the action throws (and fails the workflow) if no matching runner is online. When `false`, it always exits 0 and only exposes outputs.notrue
namedescription
available`true` if at least one matching runner is online, `false` otherwise.
online-countNumber of matching runners that are currently online.
total-countNumber of matching runners total (online + offline).
runnersJSON array of matching runners with id, name, status, labels, and busy flag.