← All notes

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

Claims

Sources

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

Permanent ID: iil:note:ffesa8bh

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.},
}

Markdown

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.

All artifact files (JSON index)

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.