# elastic/elastic-github-actions architecture

> Architecture diagram of the GitHub repository elastic/elastic-github-actions, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/elastic/elastic-github-actions
- Repository: https://github.com/elastic/elastic-github-actions

## Overview

This repository provides a GitHub Action for starting Elasticsearch so later workflow steps can use the instance. The README documents that user-facing workflow but does not expose implementation details, so the graph omits internal runtime relationships.

Main entry points: [`elasticsearch/action.yml`](https://github.com/elastic/elastic-github-actions/blob/master/elasticsearch/action.yml) (Elasticsearch action), [`elasticsearch`](https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch) (Elasticsearch instance)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_workflow(("GitHub workflow"))
node_action["Elasticsearch action<br/>[action.yml]"]
node_elasticsearch[("Elasticsearch instance")]
node_later_steps(("Later steps"))

node_workflow -->|"invokes"| node_action
node_action -->|"starts"| node_elasticsearch
node_elasticsearch -->|"serves"| node_later_steps

click node_action "https://github.com/elastic/elastic-github-actions/blob/master/elasticsearch/action.yml"
click node_elasticsearch "https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_workflow,node_later_steps toneIndigo
class node_action toneTeal
class node_elasticsearch toneAmber
```

## Components

### Other components

- **GitHub workflow**
- [Elasticsearch action](https://github.com/elastic/elastic-github-actions/blob/master/elasticsearch/action.yml): `elasticsearch/action.yml`
- [Elasticsearch instance](https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch): `elasticsearch`
- **Later steps**

## Connections

- GitHub workflow → Elasticsearch action: invokes (evidence: `README.md`)
- Elasticsearch action → Elasticsearch instance: starts (evidence: `README.md`)
- Elasticsearch instance → Later steps: serves (evidence: `README.md`)
