diff --git a/content/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization.md b/content/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization.md index 44f0828cf55e..e2a0dd198f99 100644 --- a/content/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization.md +++ b/content/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization.md @@ -99,17 +99,15 @@ Some of the features listed below are limited to organizations using {% data var | {% ifversion fpt or ghec %} | | Create, edit, run, re-run, and cancel [GitHub Actions workflows](/actions) | | | | | | | {% endif %} | -| {% ifversion fpt or ghec %} | +| {% ifversion repo-ci-cd-admin %} | | Create, update, and delete [GitHub Actions secrets](/actions/security-guides/using-secrets-in-github-actions) on GitHub.com | | | | | | -| {% endif %} | -| {% ifversion ghes %} | +| {% else %} | | Create, update, and delete [GitHub Actions secrets](/actions/security-guides/using-secrets-in-github-actions) on GitHub.com | | | | | | | {% endif %} | | Create, update, and delete [GitHub Actions secrets](/rest/actions/secrets) using the REST API | | | | | | -| {% ifversion fpt or ghec %} | +| {% ifversion repo-ci-cd-admin %} | | Create, update, and delete [GitHub Actions variables](/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables) on GitHub.com | | | | | | -| {% endif %} | -| {% ifversion ghes %} | +| {% else %} | | Create, update, and delete [GitHub Actions variables](/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables) on GitHub.com | | | | | | | {% endif %} | | Create, update, and delete [GitHub Actions variables](/rest/actions/variables) using the REST API | | | | | | diff --git a/content/repositories/creating-and-managing-repositories/transferring-a-repository.md b/content/repositories/creating-and-managing-repositories/transferring-a-repository.md index 13826cf903de..809a6e09b6ae 100644 --- a/content/repositories/creating-and-managing-repositories/transferring-a-repository.md +++ b/content/repositories/creating-and-managing-repositories/transferring-a-repository.md @@ -39,7 +39,7 @@ Prerequisites for repository transfers: * To transfer a repository that you own to an organization, you must have permission to create a repository in the target organization. * The target account must not have a repository with the same name, or a fork in the same network. * The original owner of the repository is added as a collaborator on the transferred repository. Other collaborators to the transferred repository remain intact. -* Single repositories forked from a private upstream network cannot be transferred. +* Single repositories forked from a private {%- ifversion ghec %} or internal {%- endif %} upstream network cannot be transferred. {%- ifversion ghec %} * Internal repositories can only be transferred to an organization in the enterprise. You cannot transfer an internal repository from an organization owned by one enterprise account to an organization owned by a different enterprise account. {%- endif %} diff --git a/data/features/repo-ci-cd-admin.yml b/data/features/repo-ci-cd-admin.yml new file mode 100644 index 000000000000..ce685cdd0e43 --- /dev/null +++ b/data/features/repo-ci-cd-admin.yml @@ -0,0 +1,5 @@ +# Versioning for repo/org/enterprise policy settings for actions blocklist and SHA pinning policies. +versions: + fpt: '*' + ghec: '*' + ghes: '>=3.19' diff --git a/data/reusables/actions/permissions-statement-secrets-variables-repository.md b/data/reusables/actions/permissions-statement-secrets-variables-repository.md index 0e7a451322e6..f1c4a073ca28 100644 --- a/data/reusables/actions/permissions-statement-secrets-variables-repository.md +++ b/data/reusables/actions/permissions-statement-secrets-variables-repository.md @@ -1 +1 @@ -To create secrets or variables on {% data variables.product.prodname_dotcom %} for a personal account repository, you must be the repository owner. To create secrets or variables on {% data variables.product.prodname_dotcom %} for an organization repository, you must have {% ifversion ghec %} `write` {% endif %}{% ifversion fpt or ghes %} `admin` {% endif %} access. Lastly, to create secrets or variables for a personal account repository or an organization repository through the REST API, you must have collaborator access. +{% ifversion repo-ci-cd-admin %}To create secrets or variables on {% data variables.product.prodname_dotcom %} for an organization repository, you must have `write` access.{% else %}To create secrets or variables on {% data variables.product.prodname_dotcom %} for an organization repository, you must have `admin` access.{% endif %} For a personal account repository, you must be the repository owner to create secrets or variable in the web UI or a repository collaborator to create secrets or variables through the REST API.