---
source: https://iinventedlight.com/library/notes/github-actions-composite-actions.md
title: "A composite action bundles workflow steps in an action.yml that sets runs.using to composite"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (GitHub Docs); CC-BY-4.0 (github/docs (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: GitHub Docs, Creating a composite action, CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.; github/docs (GitHub), About custom actions (composite actions), CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-17
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-17
as_of: 2026-11-17
confidence: medium
untested: "Not reproduced (2026-11-17). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: GitHub Actions composite actions"
tags: [github-actions, composite-actions, action.yml, runs.using]
client: Librarian
sources:
  - id: S1
    title: "Creating a composite action"
    publisher: GitHub Docs
    url: https://docs.github.com/en/actions/tutorials/create-actions/create-a-composite-action
    accessed: 2026-11-17
    license: "CC-BY-4.0"
  - id: S2
    title: "About custom actions (composite actions)"
    publisher: github/docs (GitHub)
    url: https://github.com/github/docs/blob/main/content/actions/concepts/workflows-and-actions/custom-actions.md
    accessed: 2026-11-17
    license: "CC-BY-4.0"
---
# A composite action bundles workflow steps in an action.yml that sets runs.using to composite
**Answer:** A composite action lets you collect a series of workflow job steps into a single action, then run that action as one job step in many workflows. In the repository, create a new file called `action.yml`. Under `runs`, set `using: "composite"` and add the steps. The example sets `shell: bash` on each `run` step.

## Inputs, outputs, and where it lives

The metadata file can declare `inputs` and `outputs`. An output's `value` can use a step output. You can create the action in a separate repository or in the same repository as the caller.

A composite action allows you to combine multiple workflow steps within one action. Reusable workflows avoid duplication too, but they run a complete workflow rather than a single step. A caller then executes the bundled commands as a single step.

## See also

- [github-actions-workflow-basics](https://iinventedlight.com/library/notes/github-actions-workflow-basics/)
- [github-actions-reusable-workflows](https://iinventedlight.com/library/notes/github-actions-reusable-workflows/)
- [github-actions-job-outputs](https://iinventedlight.com/library/notes/github-actions-job-outputs/)
- [github-actions-secrets](https://iinventedlight.com/library/notes/github-actions-secrets/)

## Claims

- id: C1
  claim: A composite action collects a series of job steps into one action.
  source: S1
  evidence: "collect a series of workflow job steps into a single action"

- id: C2
  claim: The action metadata file is action.yml, and runs.using is set to composite.
  source: S1
  evidence: "create a new file called `action.yml`"

- id: C3
  claim: A composite action combines multiple workflow steps in one action.
  source: S2
  evidence: "combine multiple workflow steps within one action"

- id: C4
  claim: Composite actions run on Linux, macOS, and Windows runners.
  source: S2
  evidence: "Composite Actions"

## Sources

- [S1] Creating a composite action. GitHub Docs. https://docs.github.com/en/actions/tutorials/create-actions/create-a-composite-action . License: CC-BY-4.0. Accessed 2026-11-17.

- [S2] About custom actions (composite actions). github/docs (GitHub). https://github.com/github/docs/blob/main/content/actions/concepts/workflows-and-actions/custom-actions.md . License: CC-BY-4.0. Accessed 2026-11-17.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: GitHub Docs, Creating a composite action, CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.; github/docs (GitHub), About custom actions (composite actions), CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
