в организацию**.
+ 
+6. Проверьте и подтвердите преобразование в диалоговом окне "Предупреждение о преобразовании учетной записи". Обратите внимание, что сведения в этом окне совпадают с предупреждением в начале этой статьи.
+ 
+7. На странице "Преобразование пользователя в организацию" в разделе "Выбор ответственного по организации" выберите вторичную личную учетную запись, созданную в предыдущем разделе, или другого пользователя, которому вы доверяете управление организацией.
+ 
+8. Выберите подписку для новой организации и при появлении запроса введите сведения о выставлении счетов.
+9. Щелкните **Создать организацию**.
+10. Войдите в новую личную учетную запись, созданную на шаге 1, а затем используйте переключатель контекста для получения доступа к новой организации.
{% tip %}
-**Tip**: When you convert a personal account into an organization, we'll add collaborators on repositories that belong to the account to the new organization as *outside collaborators*. You can then invite *outside collaborators* to become members of your new organization if you wish. For more information, see "[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators)."
+**Совет.** При преобразовании личной учетной записи в организацию мы добавим участников совместной работы в репозиториях, относящихся к учетной записи, в новую организацию в качестве *внешних участников совместной работы*. Затем при желании вы сможете пригласить *внешних участников совместной работы* стать членами новой организации. Дополнительные сведения см. в статье "[Роли в организации](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators)".
{% endtip %}
-## Further reading
-- "[Setting up teams](/articles/setting-up-teams)"
-{% ifversion fpt or ghec %}- "[Inviting users to join your organization](/articles/inviting-users-to-join-your-organization)"{% endif %}
-- "[Accessing an organization](/articles/accessing-an-organization)"
+## Дополнительные материалы
+- [Настройка команд](/articles/setting-up-teams) {% ifversion fpt or ghec %}- [Приглашение пользователей присоединиться к организации](/articles/inviting-users-to-join-your-organization){% endif %}
+- "[Вступление в организацию](/articles/accessing-an-organization)"
diff --git a/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/deleting-your-personal-account.md b/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/deleting-your-personal-account.md
index 58818ffd11..d5c640acab 100644
--- a/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/deleting-your-personal-account.md
+++ b/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/deleting-your-personal-account.md
@@ -1,6 +1,6 @@
---
-title: Deleting your personal account
-intro: 'You can delete your personal account on {% data variables.location.product_location %} at any time.'
+title: Удаление личной учетной записи
+intro: 'Личную учетную запись можно удалить в {% данных variables.location.product_location %} в любое время.'
redirect_from:
- /articles/deleting-a-user-account
- /articles/deleting-your-user-account
@@ -15,53 +15,55 @@ versions:
topics:
- Accounts
shortTitle: Delete your account
+ms.openlocfilehash: 07e738ef90e8fa51bde41e2242625bd8ae564bf7
+ms.sourcegitcommit: d697e0ea10dc076fd62ce73c28a2b59771174ce8
+ms.translationtype: MT
+ms.contentlocale: ru-RU
+ms.lasthandoff: 10/20/2022
+ms.locfileid: '148098239'
---
+## Об удалении личной учетной записи
-## About deletion of your personal account
-
-Deleting your personal account removes all repositories, forks of private repositories, wikis, issues, pull requests, and pages owned by your account. {% ifversion fpt or ghec %}Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted. Your resources and comments will become associated with the [ghost user](https://github.com/ghost).{% else %}Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted.{% endif %}
+При удалении личной учетной записи удаляются все репозитории, вилки частных репозиториев, вики-сайтов, проблемы, запросы на вытягивание и страницы, принадлежащие вашей учетной записи. {% ifversion fpt or ghec %}Созданные вами проблемы и запросы на вытягивание и комментарии, которые вы оставили в репозиториях других пользователей, не будут удалены. Ваши ресурсы и комментарии будут связаны с [пользователем-призраком](https://github.com/ghost). {% else %}Созданные вами проблемы и запросы на вытягивание и комментарии, которые вы оставили в репозиториях других пользователей, не будут удалены.{% endif %}
{% ifversion ghec %}
{% note %}
-**Note**: If your enterprise manages your account and you sign into {% data variables.location.product_location %} through your company's identity provider (IdP), you cannot delete your account. For more information, see "[About {% data variables.product.prodname_emus %}](/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users)."
+**Примечание.** Если ваша организация управляет вашей учетной записью и входите в {% данных variables.location.product_location %} через поставщика удостоверений вашей компании (IdP), вы не сможете удалить свою учетную запись. Дополнительные сведения см. в разделе [Сведения о {% data variables.product.prodname_emus %}](/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users).
{% endnote %}
{% endif %}
-{% ifversion fpt or ghec %}When you delete your account we stop billing you. The email address associated with the account becomes available for use with a different account on {% data variables.location.product_location %}. After 90 days, the account name also becomes available to anyone else to use on a new account. {% endif %}
+{% ifversion fpt or ghec %} При удалении учетной записи мы прекращаем выставление счетов. Адрес электронной почты, связанный с учетной записью, становится доступным для использования с другой учетной записью на {% данных variables.location.product_location %}. Через 90 дней имя учетной записи также становится доступно любому другому пользователю для использования в новой учетной записи. {% endif %}
-If you're the only owner of an organization, you must transfer ownership to another person or delete the organization before you can delete your personal account. If there are other owners in the organization, you must remove yourself from the organization before you can delete your personal account.
+Если вы являетесь единственным владельцем организации, необходимо передать владение другому лицу или удалить организацию, прежде чем удалить личную учетную запись. Если в организации есть другие владельцы, необходимо удалить себя из организации, прежде чем удалить личную учетную запись.
-For more information, see the following articles.
+Дополнительные сведения см. в следующих руководствах.
-- "[Transferring organization ownership](/articles/transferring-organization-ownership)"
-- "[Deleting an organization account](/articles/deleting-an-organization-account)"
-- "[Removing yourself from an organization](/articles/removing-yourself-from-an-organization/)"
+- [Передача владения организацией](/articles/transferring-organization-ownership)
+- [Удаление учетной записи организации](/articles/deleting-an-organization-account)
+- [Удаление себя из организации](/articles/removing-yourself-from-an-organization/)
-## Back up your account data
+## Резервное копирование данных учетной записи
-Before you delete your personal account, make a copy of all repositories, private forks, wikis, issues, and pull requests owned by your account. For more information, see "[Backing up a repository](/repositories/archiving-a-github-repository/backing-up-a-repository)."
+Перед удалением личной учетной записи создайте копию всех репозиториев, частных вилок, вики-сайтов, проблем и запросов на вытягивание, принадлежащих вашей учетной записи. Дополнительные сведения см. в разделе [Резервное копирование репозитория](/repositories/archiving-a-github-repository/backing-up-a-repository).
{% warning %}
-**Warning:** Once your personal account has been deleted, {% ifversion fpt or ghec %}{% data variables.product.company_short %}{% elsif ghes or ghae %}an enterprise owner{% endif %} cannot restore your content.
+**Предупреждение.** После удаления личной учетной записи {% ifversion fpt or ghec %}{% data variables.product.company_short %}{% elsif ghes or ghae %}владелец предприятия{% endif %} не может восстановить содержимое.
{% endwarning %}
-## Delete your personal account
+## Удаление личной учетной записи
-{% data reusables.user-settings.access_settings %}
-{% data reusables.user-settings.account_settings %}
-3. At the bottom of the Account Settings page, under "Delete account", click **Delete your account**. Before you can delete your personal account:
- - If you're the only owner in the organization, you must transfer ownership to another person or delete your organization.
- - If there are other organization owners in the organization, you must remove yourself from the organization.
- 
-4. In the "Make sure you want to do this" dialog box, complete the steps to confirm you understand what happens when your account is deleted:
- 
- {% ifversion fpt or ghec %}- Recall that all repositories, forks of private repositories, wikis, issues, pull requests and {% data variables.product.prodname_pages %} sites owned by your account will be deleted and your billing will end immediately, and your username will be available to anyone for use on {% data variables.product.product_name %} after 90 days.
- {% else %}- Recall that all repositories, forks of private repositories, wikis, issues, pull requests and pages owned by your account will be deleted, and your username will be available for use on {% data variables.product.product_name %}.
- {% endif %}- In the first field, type your {% data variables.product.product_name %} username or email.
- - In the second field, type the phrase from the prompt.
+{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.account_settings %}
+3. В нижней части страницы "Параметры учетной записи" в разделе "Удаление учетной записи" нажмите кнопку **Удалить учетную запись**. Перед удалением личной учетной записи выполните следующие действия.
+ - Если вы являетесь единственным владельцем в организации, необходимо передать владение другому лицу или удалить организацию.
+ - Если в организации есть другие владельцы организации, необходимо удалить себя из организации.
+ 
+4. В диалоговом окне "Убедитесь, что вы понимаете последствия своих действий" подтвердите, что понимаете, что происходит при удалении учетной записи: {% ifversion fpt or ghec %}- Помните, что все репозитории, вилки частных репозиториев, вики-сайты, проблемы, запросы на вытягивание и сайты {% data variables.product.prodname_pages %}, принадлежащие вашей учетной записи, будут удалены, и выставление счетов будет немедленно прекращено. Также ваше имя пользователя через 90 дней станет доступно любому пользователю для использования в {% data variables.product.product_name %}.
+ {% else %}- Помните, что будут удалены все репозитории, вилки частных репозиториев, вики-сайты, проблемы, запросы на вытягивание и страницы, принадлежащие вашей учетной записи, и ваше имя пользователя станет доступно для использования в {% data variables.product.product_name %}.
+ {% endif %}- В первом поле введите имя пользователя или адрес электронной почты {% data variables.product.product_name %}.
+ - Во втором поле введите фразу из запроса.
diff --git a/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/index.md b/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/index.md
index 6b1e5ab643..909dbb7907 100644
--- a/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/index.md
+++ b/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/index.md
@@ -1,6 +1,6 @@
---
-title: Managing your personal account
-intro: 'You can manage your personal account on {% ifversion fpt or ghec or ghes %}{% data variables.location.product_location %}{% elsif ghae %}{% data variables.product.product_name %}{% endif %}. For example, you can {% ifversion fpt or ghec %}manage multiple accounts, {% endif %}convert an account to an organization{% ifversion fpt or ghec or ghes %}, or delete an account{% endif %}.'
+title: Управление личной учетной записью
+intro: 'Вы можете управлять личной учетной записью на {% ifversion fpt или ghec или ghes %}{% данных variables.location.product_location %}{% elsif ghae %}{% данных variables.product.product_name %}{% endif %}. Например, вы можете {% ifversion fpt or ghec %}управлять несколькими учетными записями, {% endif %}преобразовать учетную запись в организацию{% ifversion fpt or ghec or ghes %} или удалить учетную запись{% endif %}.'
shortTitle: Manage personal account
versions:
fpt: '*'
@@ -15,5 +15,11 @@ children:
- /converting-a-user-into-an-organization
- /best-practices-for-leaving-your-company
- /deleting-your-personal-account
+ms.openlocfilehash: c99fb51454f6bc1f64fc3b015f154ea57df4b1b3
+ms.sourcegitcommit: d697e0ea10dc076fd62ce73c28a2b59771174ce8
+ms.translationtype: MT
+ms.contentlocale: ru-RU
+ms.lasthandoff: 10/20/2022
+ms.locfileid: '148098612'
---
diff --git a/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/managing-multiple-accounts.md b/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/managing-multiple-accounts.md
index ac0abba21c..ec5101aca1 100644
--- a/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/managing-multiple-accounts.md
+++ b/translations/ru-RU/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/managing-multiple-accounts.md
@@ -1,6 +1,6 @@
---
-title: Managing multiple accounts
-intro: 'If you use one workstation to contribute to projects for more than one account on {% data variables.location.product_location %}, you can modify your Git configuration to simplify the contribution process.'
+title: Управление несколькими учетными записями
+intro: 'Если вы используете одну рабочую станцию для участия в проектах для нескольких учетных записей на {% данных variables.location.product_location %}, можно изменить конфигурацию Git, чтобы упростить процесс внесения изменений.'
versions:
feature: multiple-accounts-one-workstation
topics:
@@ -8,97 +8,84 @@ topics:
- Git
- GitHub
shortTitle: Manage multiple accounts
+ms.openlocfilehash: bbf77f262cc6bfb32e53b254ad45d42ec9328d61
+ms.sourcegitcommit: d697e0ea10dc076fd62ce73c28a2b59771174ce8
+ms.translationtype: MT
+ms.contentlocale: ru-RU
+ms.lasthandoff: 10/20/2022
+ms.locfileid: '148098236'
---
+## Сведения об управлении несколькими учетными записями
-## About management of multiple accounts
+В некоторых случаях может потребоваться использовать несколько учетных записей для {% данных variables.location.product_location %}. Например, у вас может быть личная учетная запись для участия в разработке программного обеспечения с открытым кодом, а также учетная запись, созданная работодателем, для основной работы.
-In some cases, you may need to use multiple accounts on {% data variables.location.product_location %}. For example, you may have a personal account for open source contributions, and your employer may also create and manage a user account for you within an enterprise.
+Вы не можете использовать {% данных variables.enterprise.prodname_managed_user %} для участия в общедоступных проектах на {% данных variables.location.product_location %}, поэтому необходимо внести свой вклад в эти ресурсы с помощью личной учетной записи. Дополнительные сведения см. в разделе [Сведения о {% data variables.product.prodname_emus %}]({% ifversion fpt %}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users#abilities-and-restrictions-of-managed-user-accounts){% ifversion fpt %} в документации по {% data variables.product.prodname_ghe_cloud %}.{% elsif ghec %}."{% endif %}
-You cannot use your {% data variables.enterprise.prodname_managed_user %} to contribute to public projects on {% data variables.location.product_location %}, so you must contribute to those resources using your personal account. For more information, see "[About {% data variables.product.prodname_emus %}]({% ifversion fpt %}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users#abilities-and-restrictions-of-managed-user-accounts){% ifversion fpt %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% elsif ghec %}."{% endif %}
-
-If you want to use one workstation to contribute from both accounts, you can simplify contribution with Git by using a mixture of protocols to access repository data, or by using credentials on a per-repository basis.
+Если вы хотите использовать одну рабочую станцию для обеих учетных записей, вы можете упростить себе работу с помощью Git, используя сочетание протоколов для доступа к данным репозитория или учетные данные для каждого репозитория.
{% warning %}
-**Warning**: Be mindful when you use one workstation to contribute to two separate accounts. Management of two or more accounts can increase the chance of mistakenly leaking internal code to the public.
+**Предупреждение.** Будьте осторожны при использовании одной рабочей станции для работы в разных учетных записях. Управление двумя или более учетными записями повышает вероятность случайной утечки внутреннего кода.
{% endwarning %}
-If you aren't required to use a {% data variables.enterprise.prodname_managed_user %}, {% data variables.product.company_short %} recommends that you use one personal account for all your work on {% data variables.location.product_location %}. With a single personal account, you can contribute to a combination of personal, open source, or professional projects using one identity. Other people can invite the account to contribute to both individual repositories and repositories owned by an organization, and the account can be a member of multiple organizations or enterprises.
+Если вам не требуется использовать {% данных variables.enterprise.prodname_managed_user %}, {% данных variables.product.company_short %} рекомендует использовать одну личную учетную запись для всей работы над {% данных variables.location.product_location %}. Вы можете использовать одну личную учетную запись, чтобы работать над личными и рабочими проектами или проектами с открытым кодом с помощью одного удостоверения. Другие пользователи могут пригласить учетную запись для работы как в личных, так и в корпоративных репозиториях, и учетная запись может быть участником нескольких организаций или предприятий.
-## Contributing to two accounts using HTTPS and SSH
+## Работа в двух учетных записях с помощью HTTPS и SSH
-If you contribute with two accounts from one workstation, you can access repositories by using a different protocol and credentials for each account.
+Если вы работаете с двумя учетными записями на одной рабочей станции, вы можете получать доступ к репозиториям с помощью разных протоколов и учетных данных для каждой учетной записи.
-Git can use either the HTTPS or SSH protocol to access and update data in repositories on {% data variables.location.product_location %}. The protocol you use to clone a repository determines which credentials your workstation will use to authenticate when you access the repository. With this approach to account management, you store the credentials for one account to use for HTTPS connections and upload an SSH key to the other account to use for SSH connections.
+Git может использовать протокол HTTPS или SSH для доступа и обновления данных в репозиториях на {% данных variables.location.product_location %}. Протокол, используемый для клонирования репозитория, определяет, какие учетные данные рабочей станции будут использоваться для проверки подлинности при доступе к репозиторию. При таком подходе к управлению учетными записями вы сохраняете учетные данные для одной учетной записи, используемой для подключений по HTTPS, и передаете ключ SSH в другую учетную запись, используемую для подключений по SSH.
-You can find both the HTTPS or an SSH URLs for cloning a repository on {% data variables.product.product_name %}. For more information, see "[Cloning a repository](/repositories/creating-and-managing-repositories/cloning-a-repository)."
+URL-адреса HTTPS или SSH для клонирования репозитория можно найти на {% data variables.product.product_name %}. Дополнительные сведения см. в разделе [Клонирование репозитория](/repositories/creating-and-managing-repositories/cloning-a-repository).
-For more information about the use of SSH to access repositories on {% data variables.product.product_name %}, see "[Connecting to {% data variables.product.prodname_dotcom %} with SSH](/authentication/connecting-to-github-with-ssh)."
+Дополнительные сведения об использовании SSH для доступа к репозиториям на {% data variables.product.product_name %}см. в разделе [Подключение к {% data variables.product.prodname_dotcom %} с помощью SSH](/authentication/connecting-to-github-with-ssh).
-## Contributing to multiple accounts using HTTPS and {% data variables.product.pat_generic %}s
+## Участие в нескольких учетных записях с помощью HTTPS и {% данных variables.product.pat_generic %}s
-Alternatively, if you want to use the HTTPS protocol for both accounts, you can use different {% data variables.product.pat_generic %}s for each account by configuring Git to store different credentials for each repository.
+Кроме того, если вы хотите использовать протокол HTTPS для обеих учетных записей, можно использовать разные данные {% variables.product.pat_generic %}s для каждой учетной записи, настроив Git для хранения разных учетных данных для каждого репозитория.
{% mac %}
-{% data reusables.git.open-terminal %}
-{% data reusables.git.confirm-credential-manager %}
-{% data reusables.git.clear-the-stored-credentials %}
- {% data reusables.git.no-credential-manager %}
- - If the output is `osxkeychain`, you're using the macOS keychain. To clear the credentials, enter the following command.
+{% data reusables.git.open-terminal %} {% data reusables.git.confirm-credential-manager %} {% data reusables.git.clear-the-stored-credentials %} {% data reusables.git.no-credential-manager %}
+ - Если вы получили выходные данные `osxkeychain`, вы используете цепочку ключей macOS. Чтобы очистить учетные данные, введите следующую команду.
```shell{:copy}
git credential-osxkeychain erase https://github.com
```
- {% data reusables.git.clear-stored-gcm-credentials %}
-{% data reusables.git.cache-on-repository-path %}
-{% data reusables.accounts.create-personal-access-tokens %}
-{% data reusables.git.provide-credentials %}
+ {% data reusables.git.clear-stored-gcm-credentials %} {% data reusables.git.cache-on-repository-path %} {% data reusables.accounts.create-personal-access-tokens %} {% data reusables.git.provide-credentials %}
{% endmac %}
{% windows %}
-1. Open Git Bash.
-{% data reusables.git.confirm-credential-manager %}
-{% data reusables.git.clear-the-stored-credentials %}
- {% data reusables.git.no-credential-manager %}
- {% data reusables.git.clear-stored-gcm-credentials %}
- - If the output is `wincred`, you're using the Windows Credential Manager. To clear the credentials, enter the following command.
+1. Откройте Git Bash.
+{% data reusables.git.confirm-credential-manager %} {% data reusables.git.clear-the-stored-credentials %} {% data reusables.git.no-credential-manager %} {% data reusables.git.clear-stored-gcm-credentials %}
+ - Если вы получили выходные данные `wincred`, используется диспетчер учетных данных Windows. Чтобы очистить учетные данные, введите следующую команду.
```shell{:copy}
cmdkey /delete:LegacyGeneric:target=git:https://github.com
```
-{% data reusables.git.cache-on-repository-path %}
-{% data reusables.accounts.create-personal-access-tokens %}
-{% data reusables.git.provide-credentials %}
+{% data reusables.git.cache-on-repository-path %} {% data reusables.accounts.create-personal-access-tokens %} {% data reusables.git.provide-credentials %}
{% endwindows %}
{% linux %}
-{% data reusables.git.open-terminal %}
-{% data reusables.git.confirm-credential-manager %}
-{% data reusables.git.clear-the-stored-credentials %}
- {% data reusables.git.no-credential-manager %}
- {% data reusables.git.clear-stored-gcm-credentials %}
-{% data reusables.git.cache-on-repository-path %}
-{% data reusables.accounts.create-personal-access-tokens %}
-{% data reusables.git.provide-credentials %}
+{% data reusables.git.open-terminal %} {% data reusables.git.confirm-credential-manager %} {% data reusables.git.clear-the-stored-credentials %} {% data reusables.git.no-credential-manager %} {% data reusables.git.clear-stored-gcm-credentials %} {% data reusables.git.cache-on-repository-path %} {% data reusables.accounts.create-personal-access-tokens %} {% data reusables.git.provide-credentials %}
{% endlinux %}
-## Contributing to multiple accounts using SSH and `GIT_SSH_COMMAND`
+## Работа в нескольких учетных записях с использованием SSH и `GIT_SSH_COMMAND`
-If you want to use the SSH protocol for both accounts, you can use different SSH keys for each account. For more information about using SSH, see "[Connecting to {% data variables.product.prodname_dotcom %} with SSH](/authentication/connecting-to-github-with-ssh)."
+Если вы хотите использовать протокол SSH для обеих учетных записей, для каждой учетной записи можно использовать разные ключи SSH. Дополнительные сведения см. в разделе [Подключение к {% data variables.product.prodname_dotcom %} с помощью SSH](/authentication/connecting-to-github-with-ssh).
-To use a different SSH key for different repositories that you clone to your workstation, you must write a shell wrapper function for Git operations. The function should perform the following steps.
-1. Determine the repository's full name with owner, using a command such as `git config --get remote.origin.url`.
-2. Choose the correct SSH key for authentication.
-3. Modify `GIT_SSH_COMMAND` accordingly. For more information about `GIT_SSH_COMMAND`, see [Environment Variables](https://git-scm.com/docs/git#Documentation/git.txt-codeGITSSHCOMMANDcode) in the Git documentation.
+Чтобы использовать другой ключ SSH для других репозиториев, клонированных на рабочую станцию, необходимо написать функцию оболочки для операций Git. Функция должна выполнять следующие действия.
+1. Определите полное имя репозитория с владельцем, используя команду, например `git config --get remote.origin.url`.
+2. Выберите правильный ключ SSH для проверки подлинности.
+3. Измените `GIT_SSH_COMMAND` соответствующим образом. Дополнительные сведения о `GIT_SSH_COMMAND` см. в разделе [Переменные среды](https://git-scm.com/docs/git#Documentation/git.txt-codeGITSSHCOMMANDcode) в документации по Git.
-For example, the following command sets the `GIT_SSH_COMMAND` environment variable to specify an SSH command that uses the private key file at **_PATH/TO/KEY/FILE_** for authentication to clone the repository named **_OWNER_**/**_REPOSITORY_** on {% data variables.location.product_location %}.
+Например, следующая команда задает `GIT_SSH_COMMAND` переменную среды, чтобы указать команду SSH, которая использует файл закрытого ключа в **_PATH/TO/KEY/FILE_** для проверки подлинности, чтобы клонировать репозиторий с именем **_OWNER_**/**_REPOSITORY_** на {% данных variables.location.product_location %}.
GIT_SSH_COMMAND='ssh -i PATH/TO/KEY/FILE -o IdentitiesOnly=yes' git clone git@github.com:OWNER/REPOSITORY
diff --git a/translations/ru-RU/content/actions/automating-builds-and-tests/about-continuous-integration.md b/translations/ru-RU/content/actions/automating-builds-and-tests/about-continuous-integration.md
index eed83fb6ff..eeebd82cdd 100644
--- a/translations/ru-RU/content/actions/automating-builds-and-tests/about-continuous-integration.md
+++ b/translations/ru-RU/content/actions/automating-builds-and-tests/about-continuous-integration.md
@@ -1,6 +1,6 @@
---
-title: About continuous integration
-intro: 'You can create custom continuous integration (CI) workflows directly in your {% data variables.product.prodname_dotcom %} repository with {% data variables.product.prodname_actions %}.'
+title: Сведения о непрерывной интеграции
+intro: 'Вы можете создавать пользовательские рабочие процессы непрерывной интеграции (CI) непосредственно в репозитории {% data variables.product.prodname_dotcom %} с помощью {% data variables.product.prodname_actions %}.'
redirect_from:
- /articles/about-continuous-integration
- /github/automating-your-workflow-with-github-actions/about-continuous-integration
@@ -16,45 +16,48 @@ type: overview
topics:
- CI
shortTitle: Continuous integration
+ms.openlocfilehash: d09fcbdb62a07f7c046cdf8f630798d7f15c957f
+ms.sourcegitcommit: d697e0ea10dc076fd62ce73c28a2b59771174ce8
+ms.translationtype: MT
+ms.contentlocale: ru-RU
+ms.lasthandoff: 10/20/2022
+ms.locfileid: '148097969'
---
+{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
-{% data reusables.actions.enterprise-beta %}
-{% data reusables.actions.enterprise-github-hosted-runners %}
+## Сведения о непрерывной интеграции
-## About continuous integration
+Непрерывная интеграция (CI) — это программная практика, которая требует частой фиксации кода в общем репозитории. Более частая фиксация кода позволяет быстрее обнаруживать ошибки и сокращает объем кода, который разработчику необходимо отлаживать при поиске источника ошибки. Частые обновления кода также упрощают слияние изменений, полученных от разных членов группы разработчиков программного обеспечения. Это отлично подходит для разработчиков, которые могут тратить больше времени на написание кода и меньше на отладку ошибок или разрешение конфликтов слияния.
-Continuous integration (CI) is a software practice that requires frequently committing code to a shared repository. Committing code more often detects errors sooner and reduces the amount of code a developer needs to debug when finding the source of an error. Frequent code updates also make it easier to merge changes from different members of a software development team. This is great for developers, who can spend more time writing code and less time debugging errors or resolving merge conflicts.
+При фиксации кода в репозитории можно непрерывно создавать и тестировать его, чтобы убедиться, что фиксация не приводит к ошибкам. Тесты могут включать анализаторы кода (которые проверяют форматирование стилей), проверки безопасности, объем протестированного кода, функциональные тесты и другие пользовательские проверки.
-When you commit code to your repository, you can continuously build and test the code to make sure that the commit doesn't introduce errors. Your tests can include code linters (which check style formatting), security checks, code coverage, functional tests, and other custom checks.
+Для создания и тестирования кода требуется сервер. Можно создавать и тестировать обновления локально перед отправкой кода в репозиторий или использовать CI-сервер, который проверяет наличие новых фиксаций кода в репозитории.
-Building and testing your code requires a server. You can build and test updates locally before pushing code to a repository, or you can use a CI server that checks for new code commits in a repository.
+## Сведения о непрерывной интеграции с использованием {% data variables.product.prodname_actions %}
-## About continuous integration using {% data variables.product.prodname_actions %}
-
-{% ifversion ghae %}CI using {% data variables.product.prodname_actions %} offers workflows that can build the code in your repository and run your tests. Workflows can run on runner systems that you host. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners)."
-{% else %} CI using {% data variables.product.prodname_actions %} offers workflows that can build the code in your repository and run your tests. Workflows can run on {% data variables.product.prodname_dotcom %}-hosted virtual machines, or on machines that you host yourself. For more information, see "[About {% data variables.product.prodname_dotcom %}-hosted runners](/actions/using-github-hosted-runners/about-github-hosted-runners)" and "[About self-hosted runners](/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners)."
+{% ifversion ghae %}CI с использованием {% data variables.product.prodname_actions %} предлагает рабочие процессы, которые могут создавать код в репозитории и выполнять тесты. Рабочие процессы могут выполняться в системах выполнения, которые вы разместили. Дополнительные сведения см. в статье "[Сведения о локально размещенных средствах выполнения](/actions/hosting-your-own-runners/about-self-hosted-runners)."
+{% else %} CI с использованием {% data variables.product.prodname_actions %} предлагает рабочие процессы, которые могут создавать код в репозитории и выполнять тесты. Рабочие процессы могут выполняться на виртуальных машинах, размещенных на {% data variables.product.prodname_dotcom %}, или на машинах, которые вы самостоятельно разместили. Дополнительные сведения см. в разделах [Сведения о средствах выполнения тестов, размещенных в {% data variables.product.prodname_dotcom %} средств выполнения](/actions/using-github-hosted-runners/about-github-hosted-runners) и [Сведения о локальных средствах выполнения](/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners).
{% endif %}
-You can configure your CI workflow to run when a {% data variables.product.prodname_dotcom %} event occurs (for example, when new code is pushed to your repository), on a set schedule, or when an external event occurs using the repository dispatch webhook.
+Вы можете настроить рабочий процесс CI для запуска при возникновении события {% data variables.product.prodname_dotcom %} (например, при отправке нового кода в свой репозиторий), по заданному расписанию или при возникновении внешнего события с использованием веб-перехватчика репозитория.
-{% data variables.product.product_name %} runs your CI tests and provides the results of each test in the pull request, so you can see whether the change in your branch introduces an error. When all CI tests in a workflow pass, the changes you pushed are ready to be reviewed by a team member or merged. When a test fails, one of your changes may have caused the failure.
+{% data variables.product.product_name %} запускает ваши тесты CI и предоставляет результаты каждого теста в запросе на вытягивание, чтобы вы могли видеть, вызывает ли изменение в вашей ветви ошибку. Когда все тесты CI в рабочем процессе пройдены, внесенные вами изменения готовы к рассмотрению членом команды или слиянию. Если тест не пройден, причиной сбоя могло быть одно из ваших изменений.
-When you set up CI in your repository, {% data variables.product.product_name %} analyzes the code in your repository and recommends CI workflows based on the language and framework in your repository. For example, if you use [Node.js](https://nodejs.org/en/), {% data variables.product.product_name %} will suggest a starter workflow that installs your Node.js packages and runs your tests. You can use the CI starter workflow suggested by {% data variables.product.product_name %}, customize the suggested starter workflow, or create your own custom workflow file to run your CI tests.
+Когда вы настраиваете CI в своем репозитории, {% data variables.product.product_name %} анализирует код в вашем репозитории и рекомендует рабочие процессы CI на основе языка и фреймворка в нем. Например, если вы используете [Node.js](https://nodejs.org/en/), {% data variables.product.product_name %} предложит начальный рабочий процесс, который устанавливает ваши пакеты Node.js и запускает тесты. Можно использовать начальный рабочий процесс CI, предложенный {% data variables.product.product_name %}, настроить предложенный начальный рабочий процесс или создать собственный файл рабочего процесса для запуска тестов CI.
-
+
-In addition to helping you set up CI workflows for your project, you can use {% data variables.product.prodname_actions %} to create workflows across the full software development life cycle. For example, you can use actions to deploy, package, or release your project. For more information, see "[About {% data variables.product.prodname_actions %}](/articles/about-github-actions)."
+Помимо помощи в настройке рабочих процессов CI для вашего проекта, можно использовать {% data variables.product.prodname_actions %} для создания рабочих процессов на протяжении всего жизненного цикла разработки программного обеспечения. Например, вы можете использовать действия для развертывания, упаковки или выпуска проекта. Дополнительную информацию см. в разделе [Сведения о {% data variables.product.prodname_actions %}](/articles/about-github-actions).
-For a definition of common terms, see "[Core concepts for {% data variables.product.prodname_actions %}](/github/automating-your-workflow-with-github-actions/core-concepts-for-github-actions)."
+Определение общих терминов см. в разделе [Основные понятия для {% data variables.product.prodname_actions %}](/github/automating-your-workflow-with-github-actions/core-concepts-for-github-actions).
-## Starter workflow
+## Начальные рабочие процессы
-{% data variables.product.product_name %} offers CI starter workflow for a variety of languages and frameworks.
+{% data variables.product.product_name %} предлагает начальный рабочий процесс CI для различных языков и платформ.
-Browse the complete list of CI starter workflow offered by {% data variables.product.company_short %} in the {% ifversion fpt or ghec %}[actions/starter-workflows](https://github.com/actions/starter-workflows/tree/main/ci) repository{% else %} `actions/starter-workflows` repository on {% data variables.location.product_location %}{% endif %}.
+Просмотрите полный список начального рабочего процесса CI, предлагаемого {% данных variables.product.company_short %} в репозитории {% ifversion fpt или ghec %}[actions/starter-workflows](https://github.com/actions/starter-workflows/tree/main/ci) repository{% else %} `actions/starter-workflows` в репозитории {% данных variables.location.product_location %}{%endif %}.
-## Further reading
+## Дополнительные материалы
{% ifversion fpt or ghec %}
-- "[Managing billing for {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions)"
-{% endif %}
+- [Управление выставлением счетов {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions) {% endif %}
diff --git a/translations/ru-RU/content/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python.md b/translations/ru-RU/content/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python.md
new file mode 100644
index 0000000000..07f8b187a1
--- /dev/null
+++ b/translations/ru-RU/content/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python.md
@@ -0,0 +1,22 @@
+---
+title: Создание и тестирование на Node.js или Python
+shortTitle: Build & test Node.js or Python
+intro: You can create a continuous integration (CI) workflow to build and test your project. Use the language selector to show examples for your language of choice.
+redirect_from:
+- /actions/guides/building-and-testing-nodejs-or-python
+versions:
+ fpt: '*'
+ ghes: '*'
+ ghae: '*'
+ ghec: '*'
+type: tutorial
+topics:
+- CI
+ms.openlocfilehash: aa03416907eb05ac6c31081d51dcb50980a3501f
+ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
+ms.translationtype: HT
+ms.contentlocale: ru-RU
+ms.lasthandoff: 05/17/2022
+ms.locfileid: "145092565"
+---
+
diff --git a/translations/ru-RU/content/actions/creating-actions/creating-a-docker-container-action.md b/translations/ru-RU/content/actions/creating-actions/creating-a-docker-container-action.md
index 6ea8fbe52c..040cb634bb 100644
--- a/translations/ru-RU/content/actions/creating-actions/creating-a-docker-container-action.md
+++ b/translations/ru-RU/content/actions/creating-actions/creating-a-docker-container-action.md
@@ -1,7 +1,7 @@
---
-title: Creating a Docker container action
+title: Создание действия контейнера Docker
shortTitle: Create a Docker container action
-intro: 'This guide shows you the minimal steps required to build a Docker container action. '
+intro: 'В этом руководстве показаны минимально необходимые шаги для создания действия контейнера Docker. '
redirect_from:
- /articles/creating-a-docker-container-action
- /github/automating-your-workflow-with-github-actions/creating-a-docker-container-action
@@ -16,47 +16,49 @@ type: tutorial
topics:
- Action development
- Docker
+ms.openlocfilehash: e3b8110244425e07d8c0228b0ea13de79dccce98
+ms.sourcegitcommit: d697e0ea10dc076fd62ce73c28a2b59771174ce8
+ms.translationtype: MT
+ms.contentlocale: ru-RU
+ms.lasthandoff: 10/20/2022
+ms.locfileid: '148093988'
---
+{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
-{% data reusables.actions.enterprise-beta %}
-{% data reusables.actions.enterprise-github-hosted-runners %}
+## Введение
-## Introduction
+В этом руководстве вы узнаете об основных компонентах, необходимых для создания и использования упакованного действия контейнера Docker. Чтобы была возможность сосредоточить это руководство на компонентах, необходимых для упаковки действия, функциональные возможности кода действия минимальны. Действие выводит Hello World в журналах или Hello [who-to-greet] при указании настраиваемого имени.
-In this guide, you'll learn about the basic components needed to create and use a packaged Docker container action. To focus this guide on the components needed to package the action, the functionality of the action's code is minimal. The action prints "Hello World" in the logs or "Hello [who-to-greet]" if you provide a custom name.
-
-Once you complete this project, you should understand how to build your own Docker container action and test it in a workflow.
+Завершив этот проект, вы должны понять, как создать собственное действие контейнера Docker и протестировать его в рабочем процессе.
{% data reusables.actions.self-hosted-runner-reqs-docker %}
{% data reusables.actions.context-injection-warning %}
-## Prerequisites
+## Предварительные требования
-You may find it helpful to have a basic understanding of {% data variables.product.prodname_actions %} environment variables and the Docker container filesystem:
+Возможно, полезно иметь базовое представление о переменных среды {% data variables.product.prodname_actions %} и файловой системе контейнера Docker.
-- "[Using environment variables](/actions/automating-your-workflow-with-github-actions/using-environment-variables)"
-{% ifversion ghae %}
-- "[Docker container filesystem](/actions/using-github-hosted-runners/about-ae-hosted-runners#docker-container-filesystem)."
+- [Использование переменных среды](/actions/automating-your-workflow-with-github-actions/using-environment-variables) {% ifversion ghae %}
+- [Файловая система контейнера Docker](/actions/using-github-hosted-runners/about-ae-hosted-runners#docker-container-filesystem)
{% else %}
-- "[About {% data variables.product.prodname_dotcom %}-hosted runners](/actions/using-github-hosted-runners/about-github-hosted-runners#docker-container-filesystem)"
-{% endif %}
+- [Сведения о средствах выполнения, размещенных в {% data variables.product.prodname_dotcom %}](/actions/using-github-hosted-runners/about-github-hosted-runners#docker-container-filesystem) {% endif %}
-Before you begin, you'll need to create a {% data variables.product.prodname_dotcom %} repository.
+Перед началом работы необходимо создать репозиторий {% data variables.product.prodname_dotcom %}.
-1. Create a new repository on {% data variables.location.product_location %}. You can choose any repository name or use "hello-world-docker-action" like this example. For more information, see "[Create a new repository](/articles/creating-a-new-repository)."
+1. Создайте репозиторий для {% данных variables.location.product_location %}. Вы можете выбрать любое имя репозитория или использовать hello-world-docker-action, как в этом примере. Дополнительные сведения см. в разделе [Создание репозитория](/articles/creating-a-new-repository).
-1. Clone your repository to your computer. For more information, see "[Cloning a repository](/articles/cloning-a-repository)."
+1. Клонируйте репозиторий на ваш компьютер. Дополнительные сведения см. в разделе [Клонирование репозитория](/articles/cloning-a-repository).
-1. From your terminal, change directories into your new repository.
+1. В терминале измените каталоги на новый репозиторий.
```shell{:copy}
cd hello-world-docker-action
```
-## Creating a Dockerfile
+## Создание файла Dockerfile
-In your new `hello-world-docker-action` directory, create a new `Dockerfile` file. Make sure that your filename is capitalized correctly (use a capital `D` but not a capital `f`) if you're having issues. For more information, see "[Dockerfile support for {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions)."
+В новом каталоге `hello-world-docker-action` создайте файл `Dockerfile`. Убедитесь, что имя файла имеет прописную букву (используйте прописную букву `D`, но не прописную букву `f`), если у вас возникли проблемы. Дополнительные сведения см. на странице [Поддержка Dockerfile для {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions).
**Dockerfile**
```Dockerfile{:copy}
@@ -70,12 +72,11 @@ COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
```
-## Creating an action metadata file
+## Создание файла метаданных действия
-Create a new `action.yml` file in the `hello-world-docker-action` directory you created above. For more information, see "[Metadata syntax for {% data variables.product.prodname_actions %}](/actions/creating-actions/metadata-syntax-for-github-actions)."
+Создайте новый файл `action.yml` в каталоге `hello-world-docker-action`. Дополнительные сведения см. в разделе [Синтаксис метаданных для {% data variables.product.prodname_actions %}](/actions/creating-actions/metadata-syntax-for-github-actions).
-{% raw %}
-**action.yml**
+{% raw %} **action.yml**
```yaml{:copy}
# action.yml
name: 'Hello World'
@@ -96,19 +97,19 @@ runs:
```
{% endraw %}
-This metadata defines one `who-to-greet` input and one `time` output parameter. To pass inputs to the Docker container, you should declare the input using `inputs` and pass the input in the `args` keyword. Everything you include in `args` is passed to the container, but for better discoverability for users of your action, we recommended using inputs.
+Эти метаданные определяют один входной параметр `who-to-greet` и один выходной параметр `time`. Чтобы передать входные данные в контейнер Docker, необходимо объявить входные данные с помощью `inputs` и передать их в ключевом слове `args`. Все, что вы включаете в контейнер, передается в контейнер `args`, но для лучшего обнаружения для пользователей вашего действия мы рекомендуем использовать входные данные.
-{% data variables.product.prodname_dotcom %} will build an image from your `Dockerfile`, and run commands in a new container using this image.
+{% data variables.product.prodname_dotcom %} создаст образ из образа `Dockerfile` и выполнит команды в новом контейнере с помощью этого образа.
-## Writing the action code
+## Написание кода действия
-You can choose any base Docker image and, therefore, any language for your action. The following shell script example uses the `who-to-greet` input variable to print "Hello [who-to-greet]" in the log file.
+Вы можете выбрать любой базовый образ Docker и, следовательно, любой язык для своего действия. В указанном ниже примере скрипта оболочки используется входная переменная `who-to-greet` для печати Hello [who-to-greet] в файле журнала.
-Next, the script gets the current time and sets it as an output variable that actions running later in a job can use. In order for {% data variables.product.prodname_dotcom %} to recognize output variables, you must {% ifversion actions-save-state-set-output-envs %}write them to the `$GITHUB_OUTPUT` environment file: `echo "