What are the nesting and count limits for reusable workflows?
AdvancedConceptCustom Actions & Reusable Workflows
Answer
Reusable workflows can call other reusable workflows, up to a fixed nesting depth, and a run can reference a limited number of unique reusable workflows. For years the limits were 4 levels and 20 workflows; GitHub raised them in late 2025 (to 10 levels and 50 workflows). Loops are not allowed. In practice, more than two levels makes debugging and permissions reasoning painful; prefer a flat set of building blocks.
More on Custom Actions & Reusable Workflows
What are the three kinds of custom action and how do you choose?BeginnerWrite a minimal composite action that installs Node and dependencies with caching.IntermediateWhat can a composite action not do compared to a job?IntermediateHow do you pass outputs out of a composite action?IntermediateWhat does `action.yml` contain for a JavaScript action?IntermediateWhy must a JavaScript action commit its `dist/` or `node_modules`?Intermediate