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
- github-actions-reusable-workflows
- github-actions-job-outputs
- 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.
License: CC-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..
Cite this
iinventedlight. 2026. "A composite action bundles workflow steps in an action.yml that sets runs.using to composite." iinventedlight Library, iil:note:fc4merfp, version of 2026-11-17. https://iinventedlight.com/library/notes/github-actions-composite-actions/. License: CC-BY-4.0.
@misc{iil_note_fc4merfp,
author = {{iinventedlight}},
title = {{A composite action bundles workflow steps in an action.yml that sets runs.using to composite}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-17},
url = {https://iinventedlight.com/library/notes/github-actions-composite-actions/},
note = {Permanent ID iil:note:fc4merfp. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/github-actions-composite-actions.md.