diff --git a/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md b/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md index 81d79b87be..5f8bf07116 100644 --- a/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md +++ b/content/actions/sharing-automations/sharing-actions-and-workflows-with-your-organization.md @@ -12,7 +12,7 @@ redirect_from: - /actions/creating-actions/sharing-actions-and-workflows-with-your-organization --- -## About {% data variables.product.prodname_actions %} access to private {% ifversion ghec or ghes %} or internal {% endif %}repositories +## About {% data variables.product.prodname_actions %} access to private repositories 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. @@ -24,7 +24,7 @@ Any actions or reusable workflows stored in the private repository can be used i ## Sharing actions and workflows with your organization -1. Store the action or reusable workflow in a private {% ifversion ghec or ghes %} or internal {% endif %}repository. For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility). +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). 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). ## Further reading diff --git a/content/copilot/customizing-copilot/managing-copilot-knowledge-bases.md b/content/copilot/customizing-copilot/managing-copilot-knowledge-bases.md index 368e7872c6..6fc662781c 100644 --- a/content/copilot/customizing-copilot/managing-copilot-knowledge-bases.md +++ b/content/copilot/customizing-copilot/managing-copilot-knowledge-bases.md @@ -20,12 +20,6 @@ redirect_from: - /copilot/github-copilot-enterprise/copilot-docset-management/about-copilot-docset-management --- -{% ifversion fpt %} - -{% data reusables.rai.copilot.enterprise-fpt-link %} - -{% endif %} - ## About knowledge bases Organization owners can create knowledge bases, bringing together Markdown documentation across one or more repositories. Organization members can then specify that knowledge base as the context for {% data variables.product.prodname_copilot_chat_dotcom_short %}, {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}, and {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vs %}. diff --git a/content/graphql/overview/changelog.md b/content/graphql/overview/changelog.md index ab029967f2..54a6e45f35 100644 --- a/content/graphql/overview/changelog.md +++ b/content/graphql/overview/changelog.md @@ -12,4 +12,4 @@ autogenerated: graphql Breaking changes include changes that will break existing queries or could affect the runtime behavior of clients. For a list of breaking changes and when they will occur, see our [breaking changes log](/graphql/overview/breaking-changes). - \ No newline at end of file + diff --git a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell.md b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell.md index 6ed3c4860f..d7029359d8 100644 --- a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell.md +++ b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell.md @@ -93,5 +93,4 @@ permissions: Site administrators can use the administrative shell to import data ## Further reading -* [AUTOTITLE](/admin/configuration/configuring-your-enterprise/command-line-utilities#import-and-export){% ifversion fpt or ghec %} -* [AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit){% endif %} +* [AUTOTITLE](/admin/configuration/configuring-your-enterprise/command-line-utilities#import-and-export) diff --git a/content/packages/working-with-a-github-packages-registry/working-with-the-docker-registry.md b/content/packages/working-with-a-github-packages-registry/working-with-the-docker-registry.md index c088c710a0..b0c474775f 100644 --- a/content/packages/working-with-a-github-packages-registry/working-with-the-docker-registry.md +++ b/content/packages/working-with-a-github-packages-registry/working-with-the-docker-registry.md @@ -50,20 +50,8 @@ You can authenticate to {% data variables.product.prodname_registry %} with Dock To keep your credentials secure, we recommend you save your {% data variables.product.pat_generic %} in a local file on your computer and use Docker's `--password-stdin` flag, which reads your token from a local file. -{% ifversion fpt or ghec %} -{% raw %} - -```shell -cat ~/TOKEN.txt | docker login https://docker.pkg.github.com -u USERNAME --password-stdin -``` - -{% endraw %} -{% endif %} - -{% ifversion ghes %} -{% ifversion ghes %} If your instance has subdomain isolation enabled: -{% endif %} + {% raw %} ```shell @@ -71,7 +59,7 @@ cat ~/TOKEN.txt | docker login docker.HOSTNAME -u USERNAME --password-stdin ``` {% endraw %} -{% ifversion ghes %} + If your instance has subdomain isolation disabled: {% raw %} @@ -81,11 +69,8 @@ cat ~/TOKEN.txt | docker login HOSTNAME -u USERNAME --password-stdin ``` {% endraw %} -{% endif %} -{% endif %} - -To use this example login command, replace `USERNAME` with your {% data variables.product.github %} username{% ifversion ghes %}, `HOSTNAME` with the URL for {% data variables.location.product_location %},{% endif %} and `~/TOKEN.txt` with the file path to your {% data variables.product.pat_generic %} for {% data variables.product.github %}. +To use this example login command, replace `USERNAME` with your {% data variables.product.github %} username, `HOSTNAME` with the URL for {% data variables.location.product_location %}, and `~/TOKEN.txt` with the file path to your {% data variables.product.pat_generic %} for {% data variables.product.github %}. For more information, see [Docker login](https://docs.docker.com/engine/reference/commandline/login/#provide-a-password-using-stdin). @@ -109,110 +94,61 @@ For more information, see [Docker login](https://docs.docker.com/engine/referenc > IMAGE_NAME VERSION IMAGE_ID 4 weeks ago 1.11MB ``` -1. Using the Docker image ID, tag the docker image, replacing OWNER with the name of the personal account or organization that owns the repository, REPOSITORY with the name of the repository containing your project, IMAGE_NAME with name of the package or image,{% ifversion ghes %} HOSTNAME with the hostname of {% data variables.location.product_location %},{% endif %} and VERSION with package version at build time. - {% ifversion fpt or ghec %} +1. Using the Docker image ID, tag the Docker image, replacing OWNER with the name of the personal account or organization that owns the repository, REPOSITORY with the name of the repository containing your project, IMAGE_NAME with name of the package or image, HOSTNAME with the hostname of {% data variables.location.product_location %}, and VERSION with package version at build time. ```shell docker tag IMAGE_ID docker.pkg.github.com/OWNER/REPOSITORY/IMAGE_NAME:VERSION ``` - {% else %} - {% ifversion ghes %} If your instance has subdomain isolation enabled: - {% endif %} ```shell docker tag IMAGE_ID docker.HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:VERSION ``` - {% ifversion ghes %} If your instance has subdomain isolation disabled: ```shell docker tag IMAGE_ID HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:VERSION ``` - {% endif %} - {% endif %} -1. If you haven't already built a docker image for the package, build the image, replacing OWNER with the name of the personal account or organization that owns the repository, REPOSITORY with the name of the repository containing your project, IMAGE_NAME with name of the package or image, VERSION with package version at build time,{% ifversion ghes %} HOSTNAME with the hostname of {% data variables.location.product_location %},{% endif %} and PATH to the image if it isn't in the current working directory. - {% ifversion fpt or ghec %} +1. If you haven't already built a Docker image for the package, build the image, replacing OWNER with the name of the personal account or organization that owns the repository, REPOSITORY with the name of the repository containing your project, IMAGE_NAME with name of the package or image, VERSION with package version at build time, HOSTNAME with the hostname of {% data variables.location.product_location %}, and PATH to the image if it isn't in the current working directory. - ```shell - docker build -t docker.pkg.github.com/OWNER/REPOSITORY/IMAGE_NAME:VERSION PATH - ``` - - {% else %} - {% ifversion ghes %} If your instance has subdomain isolation enabled: - {% endif %} ```shell docker build -t docker.HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:VERSION PATH ``` - {% ifversion ghes %} If your instance has subdomain isolation disabled: ```shell docker build -t HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:VERSION PATH ``` - {% endif %} - {% endif %} 1. Publish the image to {% data variables.product.prodname_registry %}. - {% ifversion fpt or ghec %} - ```shell - docker push docker.pkg.github.com/OWNER/REPOSITORY/IMAGE_NAME:VERSION - ``` - - {% else %} - {% ifversion ghes %} If your instance has subdomain isolation enabled: - {% endif %} ```shell docker push docker.HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:VERSION ``` - {% ifversion ghes %} If your instance has subdomain isolation disabled: ```shell docker push HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:VERSION ``` - {% endif %} - {% endif %} - > [!NOTE] > You must push your image using `IMAGE_NAME:VERSION` and not using `IMAGE_NAME:SHA`. ### Example publishing a Docker image -{% ifversion ghes %} These examples assume your instance has subdomain isolation enabled. -{% endif %} You can publish version 1.0 of the `monalisa` image to the `octocat/octo-app` repository using an image ID. -{% ifversion fpt or ghec %} - -```shell -$ docker images - -> REPOSITORY TAG IMAGE ID CREATED SIZE -> monalisa 1.0 c75bebcdd211 4 weeks ago 1.11MB - -# Tag the image with OWNER/REPO/IMAGE_NAME -$ docker tag c75bebcdd211 docker.pkg.github.com/octocat/octo-app/monalisa:1.0 - -# Push the image to {% data variables.product.prodname_registry %} -$ docker push docker.pkg.github.com/octocat/octo-app/monalisa:1.0 -``` - -{% else %} - ```shell $ docker images @@ -226,23 +162,8 @@ $ docker tag c75bebcdd211 docker.HOSTNAME/octocat/octo-app/monalisa:1.0 $ docker push docker.HOSTNAME/octocat/octo-app/monalisa:1.0 ``` -{% endif %} - You can publish a new Docker image for the first time and name it `monalisa`. -{% ifversion fpt or ghec %} - -```shell -# Build the image with docker.pkg.github.com/OWNER/REPOSITORY/IMAGE_NAME:VERSION -# Assumes Dockerfile resides in the current working directory (.) -$ docker build -t docker.pkg.github.com/octocat/octo-app/monalisa:1.0 . - -# Push the image to {% data variables.product.prodname_registry %} -$ docker push docker.pkg.github.com/octocat/octo-app/monalisa:1.0 -``` - -{% else %} - ```shell # Build the image with docker.HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:VERSION # Assumes Dockerfile resides in the current working directory (.) @@ -252,40 +173,24 @@ $ docker build -t docker.HOSTNAME/octocat/octo-app/monalisa:1.0 . $ docker push docker.HOSTNAME/octocat/octo-app/monalisa:1.0 ``` -{% endif %} - ## Downloading an image {% data reusables.package_registry.docker_registry_deprecation_status %} -You can use the `docker pull` command to install a docker image from {% data variables.product.prodname_registry %}, replacing OWNER with the name of the personal account or organization that owns the repository, REPOSITORY with the name of the repository containing your project, IMAGE_NAME with name of the package or image,{% ifversion ghes %} HOSTNAME with the host name of {% data variables.location.product_location %}, {% endif %} and TAG_NAME with tag for the image you want to install. +You can use the `docker pull` command to install a docker image from {% data variables.product.prodname_registry %}, replacing OWNER with the name of the personal account or organization that owns the repository, REPOSITORY with the name of the repository containing your project, IMAGE_NAME with name of the package or image, HOSTNAME with the host name of {% data variables.location.product_location %}, and TAG_NAME with tag for the image you want to install. -{% ifversion fpt or ghec %} - -```shell -docker pull docker.pkg.github.com/OWNER/REPOSITORY/IMAGE_NAME:TAG_NAME -``` - -{% else %} - -{% ifversion ghes %} If your instance has subdomain isolation enabled: -{% endif %} ```shell docker pull docker.HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:TAG_NAME ``` -{% ifversion ghes %} If your instance has subdomain isolation disabled: ```shell docker pull HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:TAG_NAME ``` -{% endif %} -{% endif %} - > [!NOTE] > You must pull the image using `IMAGE_NAME:VERSION` and not using `IMAGE_NAME:SHA`. diff --git a/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md b/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md index d809044e3d..6bbfc1e863 100644 --- a/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md +++ b/content/site-policy/github-terms/github-terms-for-additional-products-and-features.md @@ -108,7 +108,7 @@ To use GitHub Copilot in your code editor, you need to install the GitHub Copilo If you customize GitHub Copilot, to include using a GitHub Copilot Extension (Extension), your use may be subject to the terms of use and privacy policy applicable to the customization. -The code you write using GitHub Copilot is not “Content” under the Agreement until you upload it to GitHub.com{% ifversion ghec %} or GHE.com{% endif %}. The code, functions, and other output returned to you by GitHub Copilot are called “**Suggestions**.” GitHub does not own Suggestions. You retain ownership of Your Code and you retain responsibility for Suggestions you include in Your Code. It is entirely your decision whether to use Suggestions generated by GitHub Copilot. If you use Suggestions, GitHub strongly recommends that you have reasonable policies and practices in place designed to prevent the use of a Suggestion in a way that may violate the rights of others. +The code you write using GitHub Copilot is not “Content” under the Agreement until you upload it to GitHub.com. The code, functions, and other output returned to you by GitHub Copilot are called “**Suggestions**.” GitHub does not own Suggestions. You retain ownership of Your Code and you retain responsibility for Suggestions you include in Your Code. It is entirely your decision whether to use Suggestions generated by GitHub Copilot. If you use Suggestions, GitHub strongly recommends that you have reasonable policies and practices in place designed to prevent the use of a Suggestion in a way that may violate the rights of others. _Acceptable Use_