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

> A single step within a GitHub Actions job — either a uses: action reference or a run: shell command

<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 single step within a GitHub Actions job. A step is either a `uses:` action reference or a `run:` shell command. Steps are the leaf nodes of the workflow execution tree and are the primary location where secrets and variables are consumed.

## 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\_HasStep](/opengraph/extensions/github/edges/gh_hasstep) | [GH\_WorkflowJob](/opengraph/extensions/github/nodes/gh_workflowjob) | ❌           |

### Outbound Edges

| Edge Type                                                              | Destination Node Types                                                                                                                       | Traversable |
| ---------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| [GH\_UsesSecret](/opengraph/extensions/github/edges/gh_usessecret)     | [GH\_RepoSecret](/opengraph/extensions/github/nodes/gh_reposecret), [GH\_OrgSecret](/opengraph/extensions/github/nodes/gh_orgsecret)         | ❌           |
| [GH\_UsesVariable](/opengraph/extensions/github/edges/gh_usesvariable) | [GH\_RepoVariable](/opengraph/extensions/github/nodes/gh_repovariable), [GH\_OrgVariable](/opengraph/extensions/github/nodes/gh_orgvariable) | ❌           |

## Diagram

```mermaid theme={null}
flowchart TD
    GH_WorkflowJob[fa:fa-gear GH_WorkflowJob]
    GH_WorkflowStep[fa:fa-shoe-prints GH_WorkflowStep]
    GH_RepoSecret[fa:fa-lock GH_RepoSecret]
    GH_OrgVariable[fa:fa-sliders GH_OrgVariable]

    GH_WorkflowJob -.->|GH_HasStep| GH_WorkflowStep
    GH_WorkflowStep -.->|GH_UsesSecret| GH_RepoSecret
    GH_WorkflowStep -.->|GH_UsesVariable| GH_OrgVariable
```
