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

> A job within a GitHub Actions workflow, with a runner, permissions, and an ordered list of steps

<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 job within a GitHub Actions workflow. Jobs are the top-level execution units of a workflow. They run on a runner, hold a set of steps, and can declare permissions, environments, and dependencies on other jobs.

## 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\_DependsOn](/opengraph/extensions/github/edges/gh_dependson) | [GH\_WorkflowJob](/opengraph/extensions/github/nodes/gh_workflowjob) | ❌           |
| [GH\_HasJob](/opengraph/extensions/github/edges/gh_hasjob)       | [GH\_Workflow](/opengraph/extensions/github/nodes/gh_workflow)       | ❌           |

### Outbound Edges

| Edge Type                                                                | Destination Node Types                                                 | Traversable |
| ------------------------------------------------------------------------ | ---------------------------------------------------------------------- | ----------- |
| [GH\_CallsWorkflow](/opengraph/extensions/github/edges/gh_callsworkflow) | [GH\_Workflow](/opengraph/extensions/github/nodes/gh_workflow)         | ❌           |
| [GH\_DependsOn](/opengraph/extensions/github/edges/gh_dependson)         | [GH\_WorkflowJob](/opengraph/extensions/github/nodes/gh_workflowjob)   | ❌           |
| [GH\_DeploysTo](/opengraph/extensions/github/edges/gh_deploysto)         | [GH\_Environment](/opengraph/extensions/github/nodes/gh_environment)   | ❌           |
| [GH\_HasStep](/opengraph/extensions/github/edges/gh_hasstep)             | [GH\_WorkflowStep](/opengraph/extensions/github/nodes/gh_workflowstep) | ❌           |

## Diagram

```mermaid theme={null}
flowchart TD
    GH_Workflow[fa:fa-cogs GH_Workflow]
    GH_WorkflowJob1[fa:fa-gear GH_WorkflowJob]
    GH_WorkflowJob2[fa:fa-gear GH_WorkflowJob]
    GH_WorkflowStep[fa:fa-shoe-prints GH_WorkflowStep]
    GH_Environment[fa:fa-leaf GH_Environment]

    GH_Workflow -.->|GH_HasJob| GH_WorkflowJob1
    GH_WorkflowJob1 -.->|GH_DependsOn| GH_WorkflowJob2
    GH_WorkflowJob1 -.->|GH_HasStep| GH_WorkflowStep
    GH_WorkflowJob1 -.->|GH_DeploysTo| GH_Environment
```
