# github/artifact-attestations-workflows architecture

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

- Interactive diagram: https://gitdiagram.com/github/artifact-attestations-workflows
- Repository: https://github.com/github/artifact-attestations-workflows

## Overview

This repository demonstrates reusable GitHub Actions workflows for generating artifact attestations. The README documents the consumer-to-attestation purpose, but the workflow and Python source were not excerpted, so the graph does not infer how individual workflows or the sample program connect.

Main entry points: [`.github/workflows`](https://github.com/github/artifact-attestations-workflows/tree/main/.github/workflows) (Reusable workflow examples)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow_examples["Workflow examples"]
  node_workflow_suite["Reusable workflow examples<br/>[workflows]"]
  node_build_pyfib["Build PyFib<br/>[build-pyfib.yml]"]
  node_ghcr_publish["GHCR publish<br/>[ghcr-publish.yml]"]
  node_attest_workflow["Attestation workflow<br/>[attest.yml]"]
end

node_consumer_repo["Consuming repository"]
node_artifact_attestations["Artifact attestations"]

node_consumer_repo -->|"uses"| node_workflow_suite
node_workflow_suite -->|"generates"| node_artifact_attestations

click node_workflow_suite "https://github.com/github/artifact-attestations-workflows/tree/main/.github/workflows"
click node_build_pyfib "https://github.com/github/artifact-attestations-workflows/blob/main/.github/workflows/build-pyfib.yml"
click node_ghcr_publish "https://github.com/github/artifact-attestations-workflows/blob/main/.github/workflows/ghcr-publish.yml"
click node_attest_workflow "https://github.com/github/artifact-attestations-workflows/blob/main/.github/workflows/attest.yml"

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_suite,node_build_pyfib,node_ghcr_publish,node_attest_workflow toneBlue
class node_consumer_repo,node_artifact_attestations toneIndigo
```

## Components

### Workflow examples

- [Reusable workflow examples](https://github.com/github/artifact-attestations-workflows/tree/main/.github/workflows): `.github/workflows`
- [Build PyFib](https://github.com/github/artifact-attestations-workflows/blob/main/.github/workflows/build-pyfib.yml): `.github/workflows/build-pyfib.yml`
- [GHCR publish](https://github.com/github/artifact-attestations-workflows/blob/main/.github/workflows/ghcr-publish.yml): `.github/workflows/ghcr-publish.yml`
- [Attestation workflow](https://github.com/github/artifact-attestations-workflows/blob/main/.github/workflows/attest.yml): `.github/workflows/attest.yml`

### Other components

- **Consuming repository**
- **Artifact attestations**

## Connections

- Consuming repository → Reusable workflow examples: uses (evidence: `README.md`)
- Reusable workflow examples → Artifact attestations: generates (evidence: `README.md`)
