Skip to content

Commit 2f1008b

Browse files
osarobohubwriter
andauthored
Making access to reusable workflows clearer (#33134)
Co-authored-by: hubwriter <[email protected]>
1 parent 5fc3d4b commit 2f1008b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ A reusable workflow can be used by another workflow if any of the following is t
5959
- The called workflow is stored in a private repository and the settings for that repository allow it to be accessed. For more information, see {% ifversion ghes or ghec %}"[AUTOTITLE](/actions/creating-actions/sharing-actions-and-workflows-with-your-enterprise)."{% else %}"[AUTOTITLE](/actions/creating-actions/sharing-actions-and-workflows-with-your-organization)" and "[AUTOTITLE](/actions/creating-actions/sharing-actions-and-workflows-from-your-private-repository)."{% endif %}
6060
{% endif %}
6161

62+
The following table shows the accessibility of reusable workflows to a caller workflow, depending on the visibility of the host repository.
63+
64+
| Caller repository | Accessible workflows repositories |
65+
|----|----|
66+
| `private` | `private`{% ifversion ghes or ghec %}, `internal`,{% endif %} and `public` |{% ifversion ghes or ghec %}
67+
| `internal` | `internal`, and `public` |{% endif %}
68+
| `public` | `public` |
69+
70+
The **Actions permissions** on the callers repository's Actions settings page must be configured to allow the use of actions and reusable workflows - see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-select-actions-and-reusable-workflows-to-run)."
71+
72+
For {% ifversion ghes or ghec %}internal or {% endif %}private repositories, the **Access** policy on the Actions settings page of the called workflow's repository must be explicitly configured to allow access from repositories containing caller workflows - see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)."
73+
6274
{% data reusables.actions.actions-redirects-workflows %}
6375

6476
## Using runners

0 commit comments

Comments
 (0)