> ## 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_RepoVariable

> A repository-level GitHub Actions variable accessible only to workflows in that repository. Unlike secrets, variable values are readable.

<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" />

Represents a repository-level GitHub Actions variable. These are variables defined directly on a specific repository and are only accessible to workflows running in that repository. Unlike secrets, variable values are readable via the API.

## 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>

### Inbound Edges

| Edge Type                                                            | Source Node Types                                                  | Traversable |
| -------------------------------------------------------------------- | ------------------------------------------------------------------ | ----------- |
| [GH\_HasVariable](/opengraph/extensions/github/edges/gh_hasvariable) | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository) | ✅           |

### Outbound Edges

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

## Properties

| Property Name     | Data Type | Description                                                                 |
| ----------------- | --------- | --------------------------------------------------------------------------- |
| objectid          | string    | A deterministic ID in the format `GH_Variable_{repoNodeId}_{variableName}`. |
| id                | string    | Same as objectid.                                                           |
| name              | string    | The name of the variable.                                                   |
| environment\_name | string    | The name of the environment (GitHub organization).                          |
| environmentid     | string    | The node\_id of the environment (GitHub organization).                      |
| repository\_name  | string    | The name of the containing repository.                                      |
| repository\_id    | string    | The node\_id of the containing repository.                                  |
| value             | string    | The plaintext value of the variable.                                        |
| created\_at       | datetime  | When the variable was created.                                              |
| updated\_at       | datetime  | When the variable was last updated.                                         |

## Diagram

```mermaid theme={null}
flowchart TD
    GH_RepoVariable[fa:fa-lock-open GH_RepoVariable]
    GH_Repository[fa:fa-box-archive GH_Repository]


    GH_Repository -.->|GH_Contains| GH_RepoVariable
    GH_Repository -->|GH_HasVariable| GH_RepoVariable
```
