Skip to content

Commit

Permalink
Clarify .github repository visibility requirement for starter workf…
Browse files Browse the repository at this point in the history
…lows (#50421)

Co-authored-by: Thomas Cole <[email protected]>
  • Loading branch information
BagToad and thomasjohncole authored May 6, 2024
1 parent 439617b commit 7355676
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ topics:

{% data reusables.actions.starter-workflow-categories %}

> [!NOTE]
> Because starter workflows require a public `.github` repository, they are not available for {% data variables.product.prodname_emus %}.
## Creating a starter workflow

Starter workflows can be created by users with write access to the organization's `.github` repository. These can then be used by organization members who have permission to create workflows.
Starter workflows can be created by users with write access to the organization's _public_ `.github` repository. These can then be used by organization members who have permission to create workflows.

{% ifversion fpt %}
Starter workflows created by users can only be used to create workflows in public repositories. Organizations using {% data variables.product.prodname_ghe_cloud %} can also use starter workflows to create workflows in private repositories. For more information, see the [{% data variables.product.prodname_ghe_cloud %} documentation](/enterprise-cloud@latest/actions/using-workflows/creating-starter-workflows-for-your-organization).
Expand All @@ -40,7 +43,7 @@ Starter workflows created by users can only be used to create workflows in publi

This procedure demonstrates how to create a starter workflow and metadata file. The metadata file describes how the starter workflows will be presented to users when they are creating a new workflow.

1. If it doesn't already exist, create a new public repository named `.github` in your organization.
1. If it doesn't already exist, create a new _public_ repository named `.github` in your organization.
1. Create a directory named `workflow-templates`.
1. Create your new workflow file inside the `workflow-templates` directory.

Expand Down

0 comments on commit 7355676

Please sign in to comment.