Skip to content

Commit 5ee9876

Browse files
author
Sarah Edwards
authored
enterprise plans support environments on private repos (#18497)
1 parent 05cae7b commit 5ee9876

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/actions/reference/environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ versions:
1616
You can configure environments with protection rules and secrets. When a workflow job references an environment, the job won't start until all of the environment's protection rules pass. A job also cannot access secrets that are defined in an environment until all the environment protection rules pass.
1717

1818
{% if currentVersion == "free-pro-team@latest" %}
19-
Environment protection rules and environment secrets are only available on public repositories. If you convert a repository from public to private, any configured protection rules or environment secrets will be ignored, and you will not be able to configure any environments. If you convert your repository back to public, you will have access to any previously configured protection rules and environment secrets.
19+
Environment protection rules and environment secrets are only available on public repositories and private repositories on an enterprise plan. If you convert a repository from public to private on a non-enterprise plan, any configured protection rules or environment secrets will be ignored, and you will not be able to configure any environments. If you convert your repository back to public, you will have access to any previously configured protection rules and environment secrets.
2020
{% endif %}
2121

2222
#### Environment protection rules

0 commit comments

Comments
 (0)