Skip to content

Commit d67dd51

Browse files
sabrowning1subatoi
andauthored
EDI-ify content on sharing actions from private repos (#56786)
Co-authored-by: Ben Ahmady <[email protected]>
1 parent 90d7176 commit d67dd51

File tree

2 files changed

+16
-22
lines changed

2 files changed

+16
-22
lines changed

content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-from-your-private-repository.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,28 @@ title: Sharing actions and workflows from your private repository
33
intro: You can share an action or reusable workflow without publishing them publicly.
44
versions:
55
fpt: '*'
6-
type: tutorial
76
topics:
87
- Actions
98
- Action development
10-
shortTitle: Share from your private repository
9+
shortTitle: Share across private repositories
1110
redirect_from:
1211
- /actions/creating-actions/sharing-actions-and-workflows-from-your-private-repository
1312
- /actions/sharing-automations/sharing-actions-and-workflows-from-your-private-repository
1413
---
1514

16-
## 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-
2215
> [!WARNING]
23-
> * If you make a private repository accessible to {% data variables.product.prodname_actions %} workflows in other repositories, outside collaborators 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 %}
2417
> * {% data reusables.actions.scoped-token-note %}
2518
2619
## Sharing actions and workflows from your private repository
2720

2821
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**.
26+
1. Click **Save** to apply the settings.
3027

31-
## Further reading
28+
## Next steps
3229

33-
* [AUTOTITLE](/actions/using-workflows/reusing-workflows)
30+
To reuse your shared workflows, see [AUTOTITLE](/actions/using-workflows/reusing-workflows).

content/actions/how-tos/sharing-automations/sharing-actions-and-workflows-with-your-organization.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Sharing actions and workflows with your organization
33
intro: You can share an action or reusable workflow with your organization without publishing the action or workflow publicly.
44
versions:
55
fpt: '*'
6-
type: tutorial
76
topics:
87
- Actions
98
- Action development
@@ -13,21 +12,19 @@ redirect_from:
1312
- /actions/sharing-automations/sharing-actions-and-workflows-with-your-organization
1413
---
1514

16-
## 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-
2215
> [!WARNING]
2316
> * {% data reusables.actions.outside-collaborators-actions %}
2417
> * {% data reusables.actions.scoped-token-note %}
2518
2619
## Sharing actions and workflows with your organization
2720

2821
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**.
26+
1. Click **Save** to apply the settings.
3027

31-
## Further reading
28+
## Next steps
3229

33-
* [AUTOTITLE](/actions/using-workflows/reusing-workflows)
30+
To learn how to reuse your shared workflows, see [AUTOTITLE](/actions/using-workflows/reusing-workflows).

0 commit comments

Comments
 (0)