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

> A GitHub Actions workflow defined in a 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" />

Represents a GitHub Actions workflow defined in a repository. Workflow nodes capture the workflow definition metadata including its file path, state, containing repository, and the full YAML contents of the workflow file. Only repositories with GitHub Actions enabled are queried for workflows.

## 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\_HasWorkflow](/opengraph/extensions/github/edges/gh_hasworkflow) | [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    | The GitHub `node_id` of the workflow, used as the unique graph identifier.   |
| name              | string    | The fully qualified workflow name (e.g., `repoName\CI Build`).               |
| short\_name       | string    | The workflow's display name.                                                 |
| node\_id          | string    | The GitHub GraphQL node ID. Redundant with objectid.                         |
| environment\_name | string    | The name of the environment (GitHub organization).                           |
| environmentid     | string    | The node\_id of the environment (GitHub organization).                       |
| repository\_name  | string    | The full name of the containing repository.                                  |
| repository\_id    | string    | The node\_id of the containing repository.                                   |
| path              | string    | The file path of the workflow definition (e.g., `.github/workflows/ci.yml`). |
| state             | string    | The workflow state (e.g., `active`, `disabled_manually`).                    |
| url               | string    | The API URL for the workflow.                                                |
| html\_url         | string    | The GitHub web URL for the workflow file.                                    |
| branch            | string    | The branch where the workflow file was found.                                |
| contents          | string    | The full YAML contents of the workflow file, downloaded from the repository. |

## Diagram

```mermaid theme={null}
flowchart TD
    GH_Workflow[fa:fa-cogs GH_Workflow]
    GH_Repository[fa:fa-box-archive GH_Repository]


    GH_Repository -.->|GH_HasWorkflow| GH_Workflow
```
