> ## Documentation Index
> Fetch the complete documentation index at: https://bloodhound.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GH_RepoRunner

> A repository-scoped GitHub self-hosted runner available to jobs in a single repository

<img noZoom src="https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=tTIczgde9H07oLXf&q=85&s=ad49a576589f4d2a8081df77d07fdf56" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

## General Information

Represents a self-hosted runner registered directly to a single GitHub repository. Repository runners are contained by that repository and may only be used by workflows in that repository.

The node captures runner metadata such as operating system, status, busy state, labels, and whether the runner is ephemeral when GitHub returns that property.

## Properties

| Property                  | Type       | Description                                                                                             |
| ------------------------- | ---------- | ------------------------------------------------------------------------------------------------------- |
| `name`                    | `string`   | The node name used for matching and display.                                                            |
| `displayname`             | `string`   | The human-readable display name.                                                                        |
| `environmentid`           | `string`   | The identifier of the GitHub environment where this node was collected.                                 |
| `last_seen`               | `datetime` | The timestamp when this node was last observed during collection.                                       |
| `node_id`                 | `string`   | The stable identifier used as the OpenGraph node ID; this is the native GitHub node ID where available. |
| `scope`                   | `string`   | Whether the runner is enterprise, organization, or repository scoped.                                   |
| `runner_id`               | `integer`  | The GitHub runner ID.                                                                                   |
| `os`                      | `string`   | The runner operating system.                                                                            |
| `status`                  | `string`   | The runner status.                                                                                      |
| `busy`                    | `boolean`  | Whether the runner is currently busy.                                                                   |
| `ephemeral`               | `boolean`  | Whether the runner is ephemeral.                                                                        |
| `labels`                  | `string`   | JSON array of runner labels.                                                                            |
| `runner_group_id`         | `integer`  | The associated runner group ID.                                                                         |
| `runner_group_name`       | `string`   | The associated runner group name.                                                                       |
| `runner_group_visibility` | `string`   | Runner group visibility when organization scoped.                                                       |
| `repository_name`         | `string`   | The repository name for repository-scoped runners.                                                      |
| `repository_id`           | `string`   | The repository node\_id for repository-scoped runners.                                                  |
| `repository_full_name`    | `string`   | The full repository name for repository-scoped runners.                                                 |
| `environment_name`        | `string`   | The name of the environment (GitHub organization).                                                      |
| `query_group`             | `string`   | Query for group.                                                                                        |
| `query_repositories`      | `string`   | Query for repositories.                                                                                 |

## Diagram

```mermaid theme={null}
graph LR
    n0["GH_Repository"]
    n1["GH_RepoRunner"]
    n0 -.->|GH_CanUseRunner| n1
    n0 -.->|GH_Contains| n1
```

## Edges

<Note>
  The tables below list edges defined by the GitHub extension only. Additional edges to or from this node may be created by other extensions.
</Note>

```mermaid theme={null}
flowchart LR

    GH_RepoRunner["GH_RepoRunner"]
    GH_Repository["GH_Repository"]
    GH_Repository -- GH_CanUseRunner --> GH_RepoRunner
    GH_Repository -- GH_Contains --> GH_RepoRunner
```

### Inbound Edges

| Edge Type                                                              | Source Node Types                                                  | Traversable |
| ---------------------------------------------------------------------- | ------------------------------------------------------------------ | ----------- |
| [GH\_CanUseRunner](/opengraph/extensions/github/edges/gh_canuserunner) | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository) | ✅           |
| [GH\_Contains](/opengraph/extensions/github/edges/gh_contains)         | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository) | ❌           |

### Outbound Edges

No outbound edges are defined by the GitHub extension for this node.

## Properties

| Property                  | Type           | Description                                                           |
| ------------------------- | -------------- | --------------------------------------------------------------------- |
| `name`                    | `str`          | -                                                                     |
| `displayname`             | `str`          | -                                                                     |
| `environmentid`           | `str`          | -                                                                     |
| `last_seen`               | `datetime`     | -                                                                     |
| `node_id`                 | `str`          | -                                                                     |
| `scope`                   | `str \| None`  | Whether the runner is enterprise, organization, or repository scoped. |
| `runner_id`               | `int \| None`  | The GitHub runner ID.                                                 |
| `os`                      | `str \| None`  | The runner operating system.                                          |
| `status`                  | `str \| None`  | The runner status.                                                    |
| `busy`                    | `bool \| None` | Whether the runner is currently busy.                                 |
| `ephemeral`               | `bool \| None` | Whether the runner is ephemeral.                                      |
| `labels`                  | `str \| None`  | JSON array of runner labels.                                          |
| `runner_group_id`         | `int \| None`  | The associated runner group ID.                                       |
| `runner_group_name`       | `str \| None`  | The associated runner group name.                                     |
| `runner_group_visibility` | `str \| None`  | Runner group visibility when organization scoped.                     |
| `repository_name`         | `str \| None`  | The repository name for repository-scoped runners.                    |
| `repository_id`           | `str \| None`  | The repository node\_id for repository-scoped runners.                |
| `repository_full_name`    | `str \| None`  | The full repository name for repository-scoped runners.               |
| `environment_name`        | `str \| None`  | The name of the environment (GitHub organization).                    |
| `query_group`             | `str \| None`  | Query for group.                                                      |
| `query_repositories`      | `str \| None`  | Query for repositories.                                               |
