A reusable workflow is called with uses and must declare workflow_call
Answer: Reusable workflows live in .github/workflows as ordinary YAML files. For a workflow to be reusable, the values for on must include workflow_call. You call a reusable workflow with the uses keyword, directly within a job, not from within job steps.
Caller and called workflows
The file that uses another workflow is the caller. The reusable file is the called workflow. One caller can use several called workflows, each referenced on its own line. The called workflow is used just as if it was part of the caller.
Reusable workflows can contain multiple jobs. Composite actions cannot contain jobs. You can define inputs and secrets on workflow_call and pass them from the caller with with and secrets. The caller can also set secrets: inherit.
See also
- github-actions-workflow-basics
- github-actions-matrix
- github-actions-composite-actions
- github-actions-job-outputs
Claims
- id: C1 claim: A reusable workflow must include workflow_call under on. source: S1 evidence: "must include
workflow_call"
- id: C2 claim: Call a reusable workflow with uses, directly within a job. source: S1 evidence: "You call a reusable workflow by using the
useskeyword."
- id: C3 claim: The workflow that uses another is the caller; the reusable one is the called workflow. source: S2 evidence: "referred to as a \"caller\" workflow"
- id: C4 claim: Unlike reusable workflows, composite actions cannot contain jobs. source: S2 evidence: "Unlike reusable workflows, they cannot contain jobs."
Sources
- [S1] Reuse workflows. GitHub Docs. https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows . License: CC-BY-4.0. Accessed 2026-11-17.
- [S2] Reusing workflow configurations (GitHub Docs source). github/docs (GitHub). https://github.com/github/docs/blob/main/content/actions/concepts/workflows-and-actions/reusing-workflow-configurations.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, Reuse workflows, CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.; github/docs (GitHub), Reusing workflow configurations (GitHub Docs source), 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, Reuse workflows, CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.; github/docs (GitHub), Reusing workflow configurations (GitHub Docs source), CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc..
Cite this
iinventedlight. 2026. "A reusable workflow is called with uses and must declare workflow_call." iinventedlight Library, iil:note:ffesa8bh, version of 2026-11-17. https://iinventedlight.com/library/notes/github-actions-reusable-workflows/. License: CC-BY-4.0.
@misc{iil_note_ffesa8bh,
author = {{iinventedlight}},
title = {{A reusable workflow is called with uses and must declare workflow\_call}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-17},
url = {https://iinventedlight.com/library/notes/github-actions-reusable-workflows/},
note = {Permanent ID iil:note:ffesa8bh. 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).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- github-actions-reusable-workflows.table.json (table; CC-BY-4.0)
- github-actions-reusable-workflows.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/github-actions-reusable-workflows.md.