You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## About {% data variables.product.prodname_actions %} access to private repositories
17
-
18
-
You can share actions and reusable workflows from your private repository, without making them public, by allowing {% data variables.product.prodname_actions %} workflows to access a private repository that contains the action or reusable workflow.
19
-
20
-
Any actions or reusable workflows stored in the private repository can be used in workflows defined in other private repositories owned by the same organization or user. Actions and reusable workflows stored in private repositories cannot be used in public repositories.
21
-
22
15
> [!WARNING]
23
-
> *If you make a private repository accessible to {% data variables.product.prodname_actions %} workflows in other repositories, outsidecollaborators on the other repositories can indirectly access the private repository, even though they do not have direct access to these repositories. The outside collaborators can view logs for workflow runs when actions or workflows from the private repository are used.
16
+
> * {% data reusables.actions.outside-collaborators-actions %}
24
17
> * {% data reusables.actions.scoped-token-note %}
25
18
26
19
## Sharing actions and workflows from your private repository
27
20
28
21
1. Store the action or reusable workflow in a private repository. For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility).
29
-
1. Configure the repository to allow access to workflows in other private repositories. For more information, 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).
22
+
1. On {% data variables.product.prodname_dotcom %}, navigate to the main page of the private repository.
23
+
1. Under your repository name, click **{% octicon "gear" aria-hidden="true" aria-label="gear" %} Settings**.
24
+
{% data reusables.repositories.settings-sidebar-actions-general %}
25
+
1. To grant access to other private repositories, in the **Access** section at the bottom of the page, select **Accessible from repositories owned by 'USERNAME' user**.
## About {% data variables.product.prodname_actions %} access to private repositories
17
-
18
-
You can share actions and reusable workflows within your organization, without publishing them publicly, by allowing {% data variables.product.prodname_actions %} workflows to access a private repository that contains the action or reusable workflow.
19
-
20
-
Any actions or reusable workflows stored in the private repository can be used in workflows defined in other private repositories owned by the same organization. Actions and reusable workflows stored in private repositories cannot be used in public repositories.
21
-
22
15
> [!WARNING]
23
16
> * {% data reusables.actions.outside-collaborators-actions %}
24
17
> * {% data reusables.actions.scoped-token-note %}
25
18
26
19
## Sharing actions and workflows with your organization
27
20
28
21
1. Store the action or reusable workflow in a private repository. For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility).
29
-
1. Configure the repository to allow access to workflows in other private repositories. For more information, 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).
22
+
1. On {% data variables.product.prodname_dotcom %}, navigate to the main page of the private repository.
23
+
1. Under your repository name, click **{% octicon "gear" aria-hidden="true" aria-label="gear" %} Settings**.
24
+
{% data reusables.repositories.settings-sidebar-actions-general %}
25
+
1. To grant access to other private repositories in the organization, in the **Access** section at the bottom of the page, select **Accessible from repositories in the 'ORGANIZATION-NAME' organization**.
0 commit comments