Skip to content

Commit 6382cc7

Browse files
authored
Merge pull request #22711 from github/repo-sync
repo sync
2 parents ae4f134 + e52ac8a commit 6382cc7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/actions/using-workflows/reusing-workflows.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,12 @@ Called workflows that are owned by the same user or organization{% ifversion ghe
7979

8080
{% ifversion nested-reusable-workflow %}
8181
* You can connect up to four levels of workflows. For more information, see "[Nesting reusable workflows](#nesting-reusable-workflows)."
82+
* You can call a maximum of 20 reusable workflows from a single workflow file. This limit includes any trees of nested reusable workflows that may be called starting from your top-level caller workflow file.
83+
84+
For example, _top-level-caller-workflow.yml__called-workflow-1.yml__called-workflow-2.yml_ counts as 2 reusable workflows.
8285
{% else %}
8386
* Reusable workflows can't call other reusable workflows.
87+
* You can call a maximum of 20 reusable workflows from a single workflow file.
8488
{% endif %}
8589
{% ifversion private-actions %}{% else %}* Reusable workflows stored within a private repository can only be used by workflows within the same repository.{% endif %}
8690
* Any environment variables set in an `env` context defined at the workflow level in the caller workflow are not propagated to the called workflow. For more information about the `env` context, see "[Context and expression syntax for GitHub Actions](/actions/reference/context-and-expression-syntax-for-github-actions#env-context)."{% ifversion actions-reusable-workflow-matrix %}{% else %}

0 commit comments

Comments
 (0)