Skip to content

Commit 547957c

Browse files
salilsubsunbrye
andauthored
Making changes to reusable workflow limits (#58328)
Co-authored-by: Sunbrye Ly <56200261+sunbrye@users.noreply.github.com>
1 parent 3755f4c commit 547957c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/actions/concepts/workflows-and-actions/reusing-workflow-configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Let's compare some aspects of each solution:
5656
| Called directly within a job, not from a step | Run as a step within a job |
5757
| Can contain multiple jobs | Does not contain jobs |
5858
| Each step is logged in real-time | Logged as one step even if it contains multiple steps |
59-
| Can connect a maximum of four levels of workflows | Can be nested to have up to 10 composite actions in one workflow |
59+
| Can connect a maximum of ten levels of workflows | Can be nested to have up to 10 composite actions in one workflow |
6060
| Can use secrets | Cannot use secrets |
6161

6262
## Workflow templates

content/actions/how-tos/reuse-automations/reuse-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181

182182
## Nesting reusable workflows
183183

184-
You can connect a maximum of four levels of workflows - that is, the top-level caller workflow and up to three levels of reusable workflows. For example: _caller-workflow.yml_ → _called-workflow-1.yml_ → _called-workflow-2.yml_ → _called-workflow-3.yml_. Loops in the workflow tree are not permitted.
184+
You can connect a maximum of ten levels of workflows - that is, the top-level caller workflow and up to nine levels of reusable workflows. For example: _caller-workflow.yml_ → _called-workflow-1.yml_ → _called-workflow-2.yml_ → _called-workflow-3.yml_ → ... → _called-workflow-9.yml_. Loops in the workflow tree are not permitted.
185185

186186
> [!NOTE] Nested reusable workflows require all workflows in the chain to be accessible to the caller, and permissions can only be maintained or reduced—not elevated—throughout the chain. For more information, see [AUTOTITLE](/actions/reference/reusable-workflows-reference#access-and-permissions-for-nested-workflows).
187187

content/actions/reference/workflows-and-actions/reusing-workflow-configurations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ For {% ifversion ghes or ghec %}internal or {% endif %}private repositories, the
4646

4747
### Limitations of reusable workflows
4848

49-
* You can connect up to four levels of workflows. For more information, see [Nesting reusable workflows](/actions/how-tos/sharing-automations/reuse-workflows#nesting-reusable-workflows).
50-
* You can call a maximum of 20 unique 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.
49+
* You can connect up to ten levels of workflows. For more information, see [Nesting reusable workflows](/actions/how-tos/sharing-automations/reuse-workflows#nesting-reusable-workflows).
50+
* You can call a maximum of 50 unique 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.
5151

5252
For example, _top-level-caller-workflow.yml__called-workflow-1.yml__called-workflow-2.yml_ counts as 2 reusable workflows.
5353

0 commit comments

Comments
 (0)