ID+username@users.noreply.github.com. Se você criou sua conta no {% data variables.product.product_location %} _antes_ de 18 de julho de 2017, seu endereço de email `noreply` do {% data variables.product.product_name %} é username@users.noreply.github.com. Você pode obter um endereço de email `noreply` baseado em ID do {% data variables.product.product_name %} selecionando (ou desmarcando e selecionando de novo) **Manter meu endereço de email privado** nas configurações de email.
+**Note:** If you created your account on {% data variables.location.product_location %} _after_ July 18, 2017, your `noreply` email address for {% data variables.product.product_name %} is a seven-digit ID number and your username in the form of ID+USERNAME@users.noreply.github.com. If you created your account on {% data variables.location.product_location %} _prior to_ July 18, 2017, your `noreply` email address from {% data variables.product.product_name %} is USERNAME@users.noreply.github.com. You can get an ID-based `noreply` email address for {% data variables.product.product_name %} by selecting (or deselecting and reselecting) **Keep my email address private** in your email settings.
{% endnote %}
-Se você usar seu endereço de email `noreply` do {% data variables.product.product_name %} para fazer commits e [alterar seu nome de usuário](/articles/changing-your-github-username), esses commits não serão associados à sua conta do {% data variables.product.product_location %}. Isso não se aplicará se você estiver usando o endereço `noreply` baseado em ID do {% data variables.product.product_name %}. Para obter mais informações, confira "[Como alterar seu nome de usuário do {% data variables.product.prodname_dotcom %}](/articles/changing-your-github-username)".{% endif %}
+If you use your `noreply` email address for {% data variables.product.product_name %} to make commits and then [change your username](/articles/changing-your-github-username), those commits will not be associated with your account on {% data variables.location.product_location %}. This does not apply if you're using the ID-based `noreply` address from {% data variables.product.product_name %}. For more information, see "[Changing your {% data variables.product.prodname_dotcom %} username](/articles/changing-your-github-username)."{% endif %}
-## Configurar o endereço de e-mail do commit no {% data variables.product.prodname_dotcom %}
+## Setting your commit email address on {% data variables.product.prodname_dotcom %}
{% data reusables.files.commit-author-email-options %}
-{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %} {% data reusables.user-settings.add_and_verify_email %} {% data reusables.user-settings.select_primary_email %}{% ifversion fpt or ghec %} {% data reusables.user-settings.keeping_your_email_address_private %}{% endif %}
+{% data reusables.user-settings.access_settings %}
+{% data reusables.user-settings.emails %}
+{% data reusables.user-settings.add_and_verify_email %}
+{% data reusables.user-settings.select_primary_email %}{% ifversion fpt or ghec %}
+{% data reusables.user-settings.keeping_your_email_address_private %}{% endif %}
-## Configurar o endereço de e-mail do commit no Git
+## Setting your commit email address in Git
-Use o comando `git config` para alterar o endereço de email associado aos commits do Git. O novo endereço de email definido ficará visível nos commits futuros que você enviar por push para o {% data variables.product.product_location %} na linha de comando. Os commits feitos antes da alteração do endereço de e-mail do commit continuarão associados ao endereço de e-mail anterior.
+You can use the `git config` command to change the email address you associate with your Git commits. The new email address you set will be visible in any future commits you push to {% data variables.location.product_location %} from the command line. Any commits you made prior to changing your commit email address are still associated with your previous email address.
-### Configurar o endereço de e-mail para todos os repositórios no computador
+### Setting your email address for every repository on your computer
{% data reusables.command_line.open_the_multi_os_terminal %}
2. {% data reusables.user-settings.set_your_email_address_in_git %}
```shell
- $ git config --global user.email "email@example.com"
+ $ git config --global user.email "YOUR_EMAIL"
```
3. {% data reusables.user-settings.confirm_git_email_address_correct %}
```shell
@@ -87,17 +85,17 @@ Use o comando `git config` para alterar o endereço de email associado aos commi
```
4. {% data reusables.user-settings.link_email_with_your_account %}
-### Configurar o endereço de e-mail para um repositório específico
+### Setting your email address for a single repository
-{% data variables.product.product_name %} usa o endereço de e-mail definido na sua configuração local do Git para associar commits enviados por push a partir da linha de comando para sua conta em {% data variables.product.product_location %}.
+{% data variables.product.product_name %} uses the email address set in your local Git configuration to associate commits pushed from the command line with your account on {% data variables.location.product_location %}.
-Você pode alterar o endereço de e-mail associado aos commits feitos em um repositório específico. Isso sobrescreverá as definições de configuração global do Git no repositório em questão, mas não afetará nenhum outro repositório.
+You can change the email address associated with commits you make in a single repository. This will override your global Git configuration settings in this one repository, but will not affect any other repositories.
{% data reusables.command_line.open_the_multi_os_terminal %}
-2. Altere o diretório de trabalho atual para o repositório local no qual deseja configurar o endereço de e-mail associado aos commits do Git.
+2. Change the current working directory to the local repository where you want to configure the email address that you associate with your Git commits.
3. {% data reusables.user-settings.set_your_email_address_in_git %}
```shell
- $ git config user.email "email@example.com"
+ $ git config user.email "YOUR_EMAIL"
```
4. {% data reusables.user-settings.confirm_git_email_address_correct %}
```shell
diff --git a/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username.md b/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username.md
index 51451cc868..aad324c45b 100644
--- a/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username.md
+++ b/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username.md
@@ -1,6 +1,6 @@
---
-title: Alterar seu nome de usuário do GitHub
-intro: 'Você pode alterar o nome de usuário da sua conta em {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.product_location %} se sua instância usar autenticação integrada{% endif %}.'
+title: Changing your GitHub username
+intro: 'You can change the username for your account on {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.location.product_location %} if your instance uses built-in authentication{% endif %}.'
redirect_from:
- /articles/how-to-change-your-username
- /articles/changing-your-github-user-name
@@ -17,24 +17,19 @@ versions:
topics:
- Accounts
shortTitle: Change your username
-ms.openlocfilehash: 28f4d0ea1a16fed0e44f34312abfd507e2f991b7
-ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
-ms.translationtype: HT
-ms.contentlocale: pt-BR
-ms.lasthandoff: 09/05/2022
-ms.locfileid: '145164630'
---
+
{% ifversion ghec or ghes %}
{% note %}
{% ifversion ghec %}
-**Observação**: os membros de um {% data variables.product.prodname_emu_enterprise %} não podem alterar os nomes de usuário. O administrador do IdP da empresa controla seu nome de usuário para {% data variables.product.product_name %}. Para obter mais informações, confira "[Sobre as {% data variables.product.prodname_emus %}](/admin/authentication/managing-your-enterprise-users-with-your-identity-provider/about-enterprise-managed-users)".
+**Note**: Members of an {% data variables.enterprise.prodname_emu_enterprise %} cannot change usernames. Your enterprise's IdP administrator controls your username for {% data variables.product.product_name %}. For more information, see "[About {% data variables.product.prodname_emus %}](/admin/authentication/managing-your-enterprise-users-with-your-identity-provider/about-enterprise-managed-users)."
{% elsif ghes %}
-**Observação**: se você entrar no {% data variables.product.product_location %} com as credenciais do LDAP ou do SSO (logon único), somente o administrador local poderá alterar seu nome de usuário. Para obter mais informações sobre os métodos de autenticação do {% data variables.product.product_name %}, confira "[Autenticação de usuários no {% data variables.product.product_location %}](/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance)".
+**Note**: If you sign into {% data variables.location.product_location %} with LDAP credentials or single sign-on (SSO), only your local administrator can change your username. For more information about authentication methods for {% data variables.product.product_name %}, see "[Authenticating users for {% data variables.location.product_location %}](/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance)."
{% endif %}
@@ -42,55 +37,61 @@ ms.locfileid: '145164630'
{% endif %}
-## Sobre alterações no nome de usuário
+## About username changes
-Você pode alterar seu nome de usuário para outro nome de usuário que não esteja em uso no momento.{% ifversion fpt or ghec %} Se o nome de usuário desejado não estiver disponível, considere outros nomes ou variações exclusivas. Usar um número, hífen ou uma ortografia alternativa pode ajudar você a encontrar um nome de usuário semelhante que ainda está disponível.
+You can change your username to another username that is not currently in use.{% ifversion fpt or ghec %} If the username you want is not available, consider other names or unique variations. Using a number, hyphen, or an alternative spelling might help you find a similar username that's still available.
-Se você for o proprietário de uma marca do nome de usuário, encontre mais informações sobre como fazer uma reclamação de marca em nossa página [Política de marca](/free-pro-team@latest/github/site-policy/github-trademark-policy).
+If you hold a trademark for the username, you can find more information about making a trademark complaint on our [Trademark Policy](/free-pro-team@latest/github/site-policy/github-trademark-policy) page.
-Se você não tiver uma marca registrada para o nome, você poderá escolher outro nome de usuário ou manter seu nome de usuário atual. O {% data variables.contact.github_support %} não pode liberar o nome de usuário indisponível para você. Para obter mais informações, confira "[Como alterar seu nome de usuário](#changing-your-username)".{% endif %}
+If you do not hold a trademark for the name, you can choose another username or keep your current username. {% data variables.contact.github_support %} cannot release the unavailable username for you. For more information, see "[Changing your username](#changing-your-username)."{% endif %}
-Depois de alterar seu nome de usuário, o nome antigo será disponibilizado para reivindicação por qualquer pessoa. A maioria das referências aos seus repositórios sob o nome de usuário antigo muda automaticamente para o novo nome de usuário. No entanto, alguns links para seu perfil não são redirecionados automaticamente.
+After changing your username, your old username becomes available for anyone else to claim. Most references to your repositories under the old username automatically change to the new username. However, some links to your profile won't automatically redirect.
-O {% data variables.product.product_name %} não pode configurar redirecionamentos para:
-- [@mentions](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) usando seu nome de usuário antigo
-- Links para [gists](/articles/creating-gists) que incluem seu nome de usuário antigo
+{% data variables.product.product_name %} cannot set up redirects for:
+- [@mentions](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) using your old username
+- Links to [gists](/articles/creating-gists) that include your old username
{% ifversion fpt or ghec %}
-Se você for integrante de um {% data variables.product.prodname_emu_enterprise %}, não será possível alterar seu nome de usuário. {% data reusables.enterprise-accounts.emu-more-info-account %}
+If you're a member of an {% data variables.enterprise.prodname_emu_enterprise %}, you cannot make changes to your username. {% data reusables.enterprise-accounts.emu-more-info-account %}
{% endif %}
-## Referências de repositório
+## Repository references
-Após alteração do nome de usuário, o {% data variables.product.product_name %} redirecionará automaticamente as referências para os repositórios.
-- Os links da web para repositórios existentes continuarão funcionando. Esse processo pode demorar alguns minutos para ser concluído após a alteração.
-- A linha de comando que faz push dos clones do repositório local para as URLs de controle do remote continuarão funcionando.
+After you change your username, {% data variables.product.product_name %} will automatically redirect references to your repositories.
+- Web links to your existing repositories will continue to work. This can take a few minutes to complete after you make the change.
+- Command line pushes from your local repository clones to the old remote tracking URLs will continue to work.
-Se o novo proprietário do seu antigo nome de usuário criar um repositório com o mesmo nome do seu repositório, isso substituirá a entrada de redirecionamento e o seu redirecionamento para de funcionar. Por conta dessa possibilidade, é recomendável atualizar todas as URLs existentes do repositório remote após alteração do seu nome de usuário. Para obter mais informações, confira "[Como gerenciar repositórios remotos](/github/getting-started-with-github/managing-remote-repositories)".
+If the new owner of your old username creates a repository with the same name as your repository, that will override the redirect entry and your redirect will stop working. Because of this possibility, we recommend you update all existing remote repository URLs after changing your username. For more information, see "[Managing remote repositories](/github/getting-started-with-github/managing-remote-repositories)."
-## Links para a página de perfil anterior
+## Links to your previous profile page
-Depois que você alterar seu nome de usuário, os links para sua página de perfil anterior, como `https://{% data variables.command_line.backticks %}/previoususername`, retornarão um erro 404. Recomendamos atualizar todos os links para a sua conta em {% data variables.product.product_location %} a partir de outro lugar{% ifversion fpt or ghec %}, como seu LinkedIn ou perfil do Twitter{% endif %}.
+After changing your username, links to your previous profile page, such as `https://{% data variables.command_line.backticks %}/previoususername`, will return a 404 error. We recommend updating any links to your account on {% data variables.location.product_location %} from elsewhere{% ifversion fpt or ghec %}, such as your LinkedIn or Twitter profile{% endif %}.
-## Seus commits no Git
+## Your Git commits
-{% ifversion fpt or ghec %}Os commits do Git associados ao endereço de email `noreply` fornecido pelo {% data variables.product.product_name %} não serão atribuídas ao novo nome de usuário e não serão exibidos no seu grafo de contribuições.{% endif %} Se os commits do Git estiverem associados a outro endereço de email que você [adicionou à sua conta do GitHub](/articles/adding-an-email-address-to-your-github-account), {% ifversion fpt or ghec %}incluindo o endereço de email `noreply` baseado em ID fornecido pelo {% data variables.product.product_name %}, {% endif %}eles continuarão sendo atribuídos a você e serão exibidos no seu grafo de contribuições depois que você tiver alterado seu nome de usuário. Para obter mais informações sobre como definir seu endereço de email, confira "[Como definir seu endereço de email de commit](/articles/setting-your-commit-email-address)".
+{% ifversion fpt or ghec %}Git commits that were associated with your {% data variables.product.product_name %}-provided `noreply` email address won't be attributed to your new username and won't appear in your contributions graph.{% endif %} If your Git commits are associated with another email address you've [added to your GitHub account](/articles/adding-an-email-address-to-your-github-account), {% ifversion fpt or ghec %}including the ID-based {% data variables.product.product_name %}-provided `noreply` email address, {% endif %}they'll continue to be attributed to you and appear in your contributions graph after you've changed your username. For more information on setting your email address, see "[Setting your commit email address](/articles/setting-your-commit-email-address)."
-## Alterar nome de usuário
+## Your gists
-{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.account_settings %}
-3. Na seção "Alterar nome de usuário", clique em **Alterar nome de usuário**.
- {% ifversion fpt or ghec %}
-4. Leia os avisos sobre a mudança de seu nome de usuário. Se você ainda quiser alterar seu nome de usuário, clique em **Entendi. Vamos alterar meu nome de usuário**.
- 
-5. Digite um novo nome de usuário.
- 
-6. Se o nome de usuário escolhido estiver disponível, clique em **Alterar meu nome de usuário**. Se o nome que você escolheu estiver indisponível, tente um nome de usuário diferente ou uma das sugestões que aparecem.
-  {% endif %}
+After changing your username, the URLs to any public or secret gists will also change and previous links to these will return a 404 error. We recommend updating the links to these gists anywhere you may have shared them.
-## Leitura adicional
+## Changing your username
-- "[Por que meus commits estão vinculados ao usuário errado?](/pull-requests/committing-changes-to-your-project/troubleshooting-commits/why-are-my-commits-linked-to-the-wrong-user)"{% ifversion fpt or ghec %}
-- "[Política de nome de usuário do {% data variables.product.prodname_dotcom %}](/free-pro-team@latest/github/site-policy/github-username-policy)"{% endif %}
+{% data reusables.user-settings.access_settings %}
+{% data reusables.user-settings.account_settings %}
+3. In the "Change username" section, click **Change username**.
+ {% ifversion fpt or ghec %}
+4. Read the warnings about changing your username. If you still want to change your username, click **I understand, let's change my username**.
+ 
+5. Type a new username.
+ 
+6. If the username you've chosen is available, click **Change my username**. If the username you've chosen is unavailable, you can try a different username or one of the suggestions you see.
+ 
+{% endif %}
+
+## Further reading
+
+- "[Why are my commits linked to the wrong user?](/pull-requests/committing-changes-to-your-project/troubleshooting-commits/why-are-my-commits-linked-to-the-wrong-user)"{% ifversion fpt or ghec %}
+- "[{% data variables.product.prodname_dotcom %} Username Policy](/free-pro-team@latest/github/site-policy/github-username-policy)"{% endif %}
diff --git a/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-accessibility-settings.md b/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-accessibility-settings.md
index 1f60927a6f..20771e8187 100644
--- a/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-accessibility-settings.md
+++ b/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-accessibility-settings.md
@@ -1,54 +1,51 @@
---
-title: Gerenciando configurações de acessibilidade
+title: Managing accessibility settings
shortTitle: Manage accessibility settings
-intro: 'A interface do usuário do {% data variables.product.product_name %} pode se adaptar às suas necessidades motoras, cognitivas, de visão, audição ou aprendizado.'
+intro: "{% data variables.product.product_name %}'s user interface can adapt to your vision, hearing, motor, cognitive, or learning needs."
versions:
feature: keyboard-shortcut-accessibility-setting
redirect_from:
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-accessibility-settings
type: how_to
miniTocMaxHeadingLevel: 3
-ms.openlocfilehash: d4811368ab825f0b24864283f8be54672f72a787
-ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
-ms.translationtype: HT
-ms.contentlocale: pt-BR
-ms.lasthandoff: 09/05/2022
-ms.locfileid: '147614316'
---
-## Sobre as configurações de acessibilidade
-Para criar uma experiência sobre {% ifversion fpt or ghec or ghes %}{% data variables.product.product_location %}{% elsif ghae %}{% data variables.product.product_name %}{% endif %} que atenda as suas necessidades, você pode personalizar a interface do usuário. As configurações de acessibilidade podem ser essenciais para pessoas com deficiência, mas podem ser úteis para qualquer pessoa. Por exemplo, a personalização de atalhos de teclado é essencial para pessoas que navegam usando o controle de voz, mas podem ser úteis para qualquer pessoa quando um atalho de teclado para dados {% data variables.product.product_name %} entra em conflito com outro atalho de aplicativo.
+## About accessibility settings
-## Gerenciando configurações de acessibilidade
+To create an experience on {% ifversion fpt or ghec or ghes %}{% data variables.location.product_location %}{% elsif ghae %}{% data variables.product.product_name %}{% endif %} that fits your needs, you can customize the user interface. Accessibility settings can be essential for people with disabilities, but can be useful to anyone. For example, customization of keyboard shortcuts is essential to people who navigate using voice control, but can be useful to anyone when a keyboard shortcut for {% data variables.product.product_name %} clashes with another application shortcut.
-Você pode decidir se deseja usar alguns ou todos os atalhos de teclado no {% ifversion fpt or ghec %}{% data variables.product.product_location %}{% elsif ghes or ghae %}site do {% data variables.product.product_location %}{% endif %} e pode controlar a exibição de imagens animadas.
+## Managing accessibility settings
-### Como gerenciar atalhos de teclado
+You can decide whether you want to use some or all keyboard shortcuts on {% ifversion fpt or ghec %}{% data variables.location.product_location %}{% elsif ghes or ghae %}the website for {% data variables.location.product_location %}{% endif %}, and you can control the display of animated images.
-Você pode executar ações no site do {% data variables.product.product_name %}, usando o teclado sozinho. Atalhos de teclado podem ser úteis para economizar tempo, mas podem ser ativados acidentalmente ou interferir na tecnologia adaptativa.
+### Managing keyboard shortcuts
-Por padrão, todos os atalhos de teclado são habilitados em {% data variables.product.product_name %}. Para obter mais informações, confira "[Atalhos de teclado](/get-started/using-github/keyboard-shortcuts)".
+You can perform actions across the {% data variables.product.product_name %} website by using your keyboard alone. Keyboard shortcuts can be useful to save time, but can be activated accidentally or interfere with assistive technology.
-{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.accessibility_settings %}
-1. Em "Atalhos de teclado", gerencie as configurações dos atalhos de teclado.
+By default, all keyboard shortcuts are enabled on {% data variables.product.product_name %}. For more information, see "[Keyboard shortcuts](/get-started/using-github/keyboard-shortcuts)."
- - Para desabilitar teclas de atalho que não usam teclas modificadoras, como Control ou Comando, em "Geral", desmarque a opção **Teclas de caractere**.
- - Se você desabilitar as chaves de caractere, ainda poderá disparar atalhos para o navegador da Web e ainda poderá disparar atalhos para {% data variables.product.product_name %} que usam uma tecla modificadora.
+{% data reusables.user-settings.access_settings %}
+{% data reusables.user-settings.accessibility_settings %}
+1. Under "Keyboard shortcuts", manage settings for your keyboard shortcuts.
+
+ - To disable shortcut keys that don't use modifiers keys like Control or Command, under "General", deselect **Character keys**.
+ - If you disable character keys, you may still be able to trigger shortcuts for your web browser, and you can still trigger shortcuts for {% data variables.product.product_name %} that use a modifier key.
{%- ifversion command-palette %}
- - Para personalizar os atalhos de teclado para disparar a paleta de comandos, em "Paleta de comandos", use os menus suspensos para escolher um atalho de teclado. Para obter mais informações, confira "[Paleta de comandos do {% data variables.product.company_short %}](/get-started/using-github/github-command-palette)."
+ - To customize the keyboard shortcuts for triggering the command palette, under "Command palette", use the drop-down menus to choose a keyboard shortcut. For more information, see "[{% data variables.product.company_short %} Command Palette](/get-started/using-github/github-command-palette)."
{%- endif %}
{% ifversion motion-management %}
-### Como gerenciar o movimento
+### Managing motion
-Você pode controlar como {% data variables.product.product_name %} exibe imagens _.gif_ animadas.
+You can control how {% data variables.product.product_name %} displays animated _.gif_ images.
-Por padrão, {% data variables.product.product_name %} sincroniza-se com a sua preferência de nível do sistema para reduzir o movimento. Para obter mais informações, confira a documentação ou as configurações do seu sistema operacional.
+By default, {% data variables.product.product_name %} syncs with your system-level preference for reduced motion. For more information, see the documentation or settings for your operating system.
-{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.accessibility_settings %}
-1. Em "Movimento", gerencie as configurações de movimento.
+{% data reusables.user-settings.access_settings %}
+{% data reusables.user-settings.accessibility_settings %}
+1. Under "Motion", manage settings for motion.
- - Para controlar como {% data variables.product.product_name %} exibe imagens animadas, em "Reprodução automática de imagens animadas", selecione **Sincronizar com o sistema**, **Habilitado** ou **Desabilitado**.
+ - To control how {% data variables.product.product_name %} displays animated images, under "Autoplay animated images", select **Sync with system**, **Enabled**, or **Disabled**.
{% endif %}
diff --git a/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-the-default-branch-name-for-your-repositories.md b/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-the-default-branch-name-for-your-repositories.md
index c2d389b7ce..25c69e1a94 100644
--- a/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-the-default-branch-name-for-your-repositories.md
+++ b/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-the-default-branch-name-for-your-repositories.md
@@ -1,6 +1,6 @@
---
-title: Gerenciar o nome do branch-padrão para seus repositórios
-intro: 'Você pode definir os novos repositórios para nome do branch-padrão que você criar em {% data variables.product.product_location %}.'
+title: Managing the default branch name for your repositories
+intro: 'You can set the default branch name for new repositories that you create on {% data variables.location.product_location %}.'
versions:
fpt: '*'
ghes: '*'
@@ -13,29 +13,24 @@ redirect_from:
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-the-default-branch-name-for-your-repositories
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-the-default-branch-name-for-your-repositories
shortTitle: Manage default branch name
-ms.openlocfilehash: a3943f32860f55becaa840f7ca40c13ba87b5ce2
-ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
-ms.translationtype: HT
-ms.contentlocale: pt-BR
-ms.lasthandoff: 09/05/2022
-ms.locfileid: '145193759'
---
-## Sobre o gerenciamento do nome do brancc-padrão
+## About management of the default branch name
-Ao criar um novo repositório em {% data variables.product.product_location %}, o repositório conterá um branch, que será o branch-padrão. Você pode alterar o nome que {% data variables.product.product_name %} usa para o branch-padrão em novos repositórios que você criar. Para obter mais informações sobre o branch padrão, confira "[Sobre os branches](/github/collaborating-with-issues-and-pull-requests/about-branches#about-the-default-branch)".
+When you create a new repository on {% data variables.location.product_location %}, the repository contains one branch, which is the default branch. You can change the name that {% data variables.product.product_name %} uses for the default branch in new repositories you create. For more information about the default branch, see "[About branches](/github/collaborating-with-issues-and-pull-requests/about-branches#about-the-default-branch)."
{% data reusables.branches.change-default-branch %}
-## Definir o nome do branch-padrão
+## Setting the default branch name
-{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.repo-tab %}
-3. Em "Branch padrão do repositório", clique em **Alterar o nome do branch padrão agora**.
- 
-4. Digite o nome-padrão que você gostaria de usar para novos branches.
- 
-5. Clique em **Atualizar**.
- 
+{% data reusables.user-settings.access_settings %}
+{% data reusables.user-settings.repo-tab %}
+3. Under "Repository default branch", click **Change default branch name now**.
+ 
+4. Type the default name that you would like to use for new branches.
+ 
+5. Click **Update**.
+ 
-## Leitura adicional
+## Further reading
-- "[Como gerenciar o nome do branch padrão para repositórios na sua organização](/organizations/managing-organization-settings/managing-the-default-branch-name-for-repositories-in-your-organization)"
+- "[Managing the default branch name for repositories in your organization](/organizations/managing-organization-settings/managing-the-default-branch-name-for-repositories-in-your-organization)"
diff --git a/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/best-practices-for-leaving-your-company.md b/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/best-practices-for-leaving-your-company.md
index 705b738067..aedaff2bc8 100644
--- a/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/best-practices-for-leaving-your-company.md
+++ b/translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/best-practices-for-leaving-your-company.md
@@ -1,6 +1,6 @@
---
-title: Práticas recomendadas para deixar a empresa
-intro: 'Se você usa sua conta de usuário no {% data variables.product.product_name %} com finalidade pessoal e profissional, considere algumas práticas ao sair da empresa ou da organização.'
+title: Best practices for leaving your company
+intro: 'If you use your account on {% data variables.product.product_name %} for both personal and work purposes, there are a few things to keep in mind when you leave your company or organization.'
redirect_from:
- /articles/best-practices-for-leaving-your-company
- /github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company
@@ -13,36 +13,31 @@ versions:
topics:
- Accounts
shortTitle: Leaving your company
-ms.openlocfilehash: c288584891981eab7ffe4204e2028b0e70cf1d08
-ms.sourcegitcommit: 478f2931167988096ae6478a257f492ecaa11794
-ms.translationtype: HT
-ms.contentlocale: pt-BR
-ms.lasthandoff: 09/09/2022
-ms.locfileid: '147687081'
---
-Antes de sair da empresa, não se esqueça de atualizar as seguintes informações em sua conta pessoal:
-- Cancele a verificação do endereço de email da sua empresa [excluindo-o nas configurações de Email](/articles/changing-your-primary-email-address). Você pode adicioná-lo novamente sem verificação para manter os commits associados vinculados à sua conta.
-- [Altere o endereço de email principal](/articles/changing-your-primary-email-address) do email da sua empresa para o seu email pessoal.
-- [Verifique o novo endereço de email principal](/articles/verifying-your-email-address).
-- [Altere seu nome de usuário do GitHub](/articles/changing-your-github-username) para remover qualquer referência à sua empresa ou organização, se necessário.
-- Se você habilitou a 2FA (autenticação de dois fatores) para sua conta pessoal, verifique se você (não sua empresa) controla o método de autenticação 2FA configurado. Para obter mais informações, confira "[Como configurar a autenticação de dois fatores](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)".
+Before you leave your company, make sure you update the following information in your personal account:
-## Saída das organizações
+- Unverify your company email address by [deleting it in your Email settings](/articles/changing-your-primary-email-address). You can then re-add it without verifying to keep any associated commits linked to your account.
+- [Change your primary email address](/articles/changing-your-primary-email-address) from your company email to your personal email.
+- [Verify your new primary email address](/articles/verifying-your-email-address).
+- [Change your GitHub username](/articles/changing-your-github-username) to remove any references to your company or organization, if necessary.
+- If you've enabled two-factor (2FA) authentication for your personal account, make sure that you (not your company) control the 2FA authentication method you have configured. For more information, see "[Configuring two-factor authentication](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)."
-Se você estiver trabalhando com repositórios que pertencem a uma organização, o ideal será [se remover como membro da organização](/articles/removing-yourself-from-an-organization). Observe que, se você for o proprietário da organização, primeiro, deverá [transferir a propriedade da organização](/articles/transferring-organization-ownership) para outra pessoa.
+## Leaving organizations
-A menos que você esteja usando um {% data variables.product.prodname_managed_user %}, você poderá acessar sua conta pessoal, mesmo após sair da organização. Para obter mais informações sobre {% data variables.product.prodname_emus %}, confira "[Sobre {% data variables.product.prodname_emus %}]({% ifversion not ghec%}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users){% ifversion not ghec %}" na documentação do {% data variables.product.prodname_ghe_cloud %}.{% else %}."{% endif %}
+If you've been working with repositories that belong to an organization, you'll want to [remove yourself as a member of the organization](/articles/removing-yourself-from-an-organization). Note that if you are the organization owner, you should first [transfer ownership of the organization](/articles/transferring-organization-ownership) to another person.
-## Remover associações profissionais a repositórios pessoais
+Unless you're using a {% data variables.enterprise.prodname_managed_user %}, you'll still be able to access your personal account, even after leaving the organization. For more information about {% data variables.product.prodname_emus %}, see "[About {% data variables.product.prodname_emus %}]({% ifversion not ghec%}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users){% ifversion not ghec %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}."{% endif %}
-Se você estiver colaborando profissionalmente com outra pessoa em repositórios que pertencem a sua conta pessoal, o ideal será [remover sua função como colaborador](/articles/removing-yourself-from-a-collaborator-s-repository) desses repositórios.
+## Removing professional associations with personal repositories
-- [Pare de inspecionar os repositórios](https://github.com/watching) relacionados ao seu trabalho. Você não desejará mais receber essas notificações!
-- [Transfira os repositórios dos quais você é o proprietário](/articles/how-to-transfer-a-repository) e nos quais outras pessoas talvez precisem continuar trabalhando depois que você sair deles.
-- [Exclua os forks que pertencem a você](/articles/deleting-a-repository) relacionados ao trabalho que você estava fazendo. Não se preocupe, excluir uma bifurcação não exclui o repositório upstream.
-- Exclua cópias locais de suas bifurcações que possam existir no seu computador:
+If you've been collaborating professionally with another person on repositories that belong to their personal account, you'll want to [remove yourself as a collaborator](/articles/removing-yourself-from-a-collaborator-s-repository) from those repositories.
+
+- [Stop watching repositories](https://github.com/watching) related to your work. You won't want those notifications anymore!
+- [Transfer repositories you own](/articles/how-to-transfer-a-repository) that others may need to continue working on after you leave.
+- [Delete forks that belong to you](/articles/deleting-a-repository) that are related to the work you were doing. Don't worry, deleting a fork doesn't delete the upstream repository.
+- Delete local copies of your forks that may exist on your computer:
```shell
-$ rm -rf work_directory
+$ rm -rf WORK_DIRECTORY
```
diff --git a/translations/pt-BR/content/actions/automating-builds-and-tests/about-continuous-integration.md b/translations/pt-BR/content/actions/automating-builds-and-tests/about-continuous-integration.md
index 8e356c734b..eed83fb6ff 100644
--- a/translations/pt-BR/content/actions/automating-builds-and-tests/about-continuous-integration.md
+++ b/translations/pt-BR/content/actions/automating-builds-and-tests/about-continuous-integration.md
@@ -1,6 +1,6 @@
---
-title: Sobre integração contínua
-intro: 'Você pode criar fluxos de trabalho de integração contínua (CI) personalizados diretamente no repositório do {% data variables.product.prodname_dotcom %} com o {% data variables.product.prodname_actions %}.'
+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 %}.'
redirect_from:
- /articles/about-continuous-integration
- /github/automating-your-workflow-with-github-actions/about-continuous-integration
@@ -16,48 +16,45 @@ type: overview
topics:
- CI
shortTitle: Continuous integration
-ms.openlocfilehash: 26b9088133ad561900d06a0c885d6b06b9b55861
-ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
-ms.translationtype: HT
-ms.contentlocale: pt-BR
-ms.lasthandoff: 09/10/2022
-ms.locfileid: '147880658'
---
-{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
-## Sobre integração contínua
+{% data reusables.actions.enterprise-beta %}
+{% data reusables.actions.enterprise-github-hosted-runners %}
-A integração contínua (CI, Continuous Integration) é uma prática de software que exige commits frequentes de códigos para um repositório compartilhado. Fazer commits de códigos com frequência detecta erros com mais antecedência e reduz a quantidade de código necessária para depuração quando os desenvolvedores chegam à origem de um erro. As atualizações frequentes de código também facilitam o merge de alterações dos integrantes de uma equipe de desenvolvimento de software. Assim, os desenvolvedores podem se dedicar mais à gravação de códigos e se preocupar menos com erros de depuração ou conflitos de merge.
+## About continuous integration
-Ao fazer commit do seu repositório, você pode continuamente compilar e testar o código para garantir que o commit não insira erros. Seus testes podem incluir linters de código (que verificam formatação de estilo), verificações de segurança, cobertura de código, testes funcionais e outras verificações personalizadas.
+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.
-Para compilar e testar seu código, é necessário usar um servidor. Você pode criar e testar atualizações no local antes de fazer push do código para um repositório, ou pode usar um servidor de CI que verifica os novos commits de código em um repositório.
+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.
-## Sobre integração contínua usando {% data variables.product.prodname_actions %}
+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.
-{% ifversion ghae %}A CI que usa o {% data variables.product.prodname_actions %} oferece fluxos de trabalho que podem compilar o código no repositório e executar os testes. Os fluxos de trabalho podem ser executados em sistemas de executores que você hospeda. Para obter mais informações, confira "[Sobre os executores auto-hospedados](/actions/hosting-your-own-runners/about-self-hosted-runners)".
-{% else %} CI que usa {% data variables.product.prodname_actions %} oferece fluxos de trabalho que podem criar o código no seu repositório e executar seus testes. Os fluxos de trabalho podem ser executados em máquinas virtuais hospedadas em {% data variables.product.prodname_dotcom %} ou em máquinas que você mesmo pode hospedar. Para obter mais informações, confira "[Sobre os executores hospedados no {% data variables.product.prodname_dotcom %}](/actions/using-github-hosted-runners/about-github-hosted-runners)" e "[Sobre os executores auto-hospedados](/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners)".
+## 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)."
{% endif %}
-Você pode configurar seu fluxo de trabalho de CI para ser executado quando ocorrer um evento do {% data variables.product.prodname_dotcom %} (por exemplo, quando o novo código é enviado por push para o repositório), de acordo com um agendamento definido ou quando um evento externo ocorre usando o webhook de expedição do repositório.
+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.
-{% data variables.product.product_name %} executa seus testes de CI e fornece os resultados de cada teste no pull request para que você possa ver se a mudança no seu branch introduz um erro. Quando todos os testes de CI em um fluxo de trabalho forem aprovados, as alterações que passaram por push estarão prontas para a revisão de um integrante da equipe ou para o merge. Se algum teste falhar, uma de suas alterações pode ter causado a falha.
+{% 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.
-Ao configurar o CI no seu repositório, {% data variables.product.product_name %} analisa o código no seu repositório e recomenda fluxos de trabalho CI baseados no idioma e na estrutura do seu repositório. Por exemplo, se você usar o [Node.js](https://nodejs.org/en/), o {% data variables.product.product_name %} vai sugerir um fluxo de trabalho inicial que instala os pacotes do Node.js e executa os testes. Você pode usar o fluxo de trabalho inicial de CI sugerido por {% data variables.product.product_name %}, personalizar o fluxo de trabalho inicial sugerido ou criar o seu próprio arquivo de fluxo de trabalho personalizado para executar seus testes de 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.
-
+
-Além de ajudá-lo a configurar fluxos de trabalho de CI para seu projeto, você pode usar {% data variables.product.prodname_actions %} para criar fluxos de trabalho ao longo de todo o ciclo de vida de desenvolvimento do software. Por exemplo, você pode usar ações para implantar, criar pacotes ou lançar uma versão do seu projeto. Para obter mais informações, confira "[Sobre o {% data variables.product.prodname_actions %}](/articles/about-github-actions)".
+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)."
-Para obter uma definição de termos comuns, confira "[Conceitos principais do {% data variables.product.prodname_actions %}](/github/automating-your-workflow-with-github-actions/core-concepts-for-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)."
-## Fluxo de trabalho inicial
+## Starter workflow
-{% data variables.product.product_name %} oferece fluxo de trabalho inicial de CI para uma série de linguagens e estruturas.
+{% data variables.product.product_name %} offers CI starter workflow for a variety of languages and frameworks.
-Navegue pela lista completa de fluxos de trabalho iniciais de CI oferecida pelo {% data variables.product.company_short %} no {% ifversion fpt or ghec %}repositório [actions/starter-workflows](https://github.com/actions/starter-workflows/tree/main/ci){% else %} repositório `actions/starter-workflows` do {% data variables.product.product_location %}{% endif %}.
+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 %}.
-## Leitura adicional
+## Further reading
{% ifversion fpt or ghec %}
-- "[Como gerenciar a cobrança do {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions)" {% endif %}
+- "[Managing billing for {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions)"
+{% endif %}
diff --git a/translations/pt-BR/content/actions/creating-actions/creating-a-composite-action.md b/translations/pt-BR/content/actions/creating-actions/creating-a-composite-action.md
index a19e2f232b..382e81006b 100644
--- a/translations/pt-BR/content/actions/creating-actions/creating-a-composite-action.md
+++ b/translations/pt-BR/content/actions/creating-actions/creating-a-composite-action.md
@@ -1,6 +1,7 @@
---
-title: Criar uma ação composta
-intro: 'Neste guia, você aprenderá a criar uma ação composta.'
+title: Creating a composite action
+shortTitle: Create a composite action
+intro: 'In this guide, you''ll learn how to build a composite action.'
redirect_from:
- /actions/creating-actions/creating-a-composite-run-steps-action
versions:
@@ -11,62 +12,58 @@ versions:
type: tutorial
topics:
- Action development
-shortTitle: Composite action
-ms.openlocfilehash: fae29972e9ce4a19485e2f13ed2ff80b589a1a0a
-ms.sourcegitcommit: 5f9527483381cfb1e41f2322f67c80554750a47d
-ms.translationtype: HT
-ms.contentlocale: pt-BR
-ms.lasthandoff: 09/11/2022
-ms.locfileid: '145083688'
---
-{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
-## Introdução
+{% data reusables.actions.enterprise-beta %}
+{% data reusables.actions.enterprise-github-hosted-runners %}
-Neste guia, você aprenderá os componentes básicos necessários para criar e usar uma ação composta empacotada. Para manter o foco deste guia nos componentes necessários para empacotar a ação, a funcionalidade do código da ação é mínima. A ação imprime "Hello World" e "Goodbye", ou, se você fornecer um nome personalizado, imprimirá "Hello [who-to-greet]" e "Goodbye". A ação também mapeia um número aleatório para a variável de saída `random-number` e executa um script chamado `goodbye.sh`.
+## Introduction
-Ao concluir este projeto, você entenderá como criar a sua própria ação composta e testá-la em um fluxo de trabalho.
+In this guide, you'll learn about the basic components needed to create and use a packaged composite 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" and then "Goodbye", or if you provide a custom name, it prints "Hello [who-to-greet]" and then "Goodbye". The action also maps a random number to the `random-number` output variable, and runs a script named `goodbye.sh`.
+
+Once you complete this project, you should understand how to build your own composite action and test it in a workflow.
{% data reusables.actions.context-injection-warning %}
-## Pré-requisitos
+## Prerequisites
-Antes de começar, você criará um repositório em {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %}.
+Before you begin, you'll create a repository on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %}.
-1. Crie um repositório público novo no {% data variables.product.product_location %}. Você pode escolher qualquer nome de repositório ou usar o exemplo de `hello-world-composite-action` a seguir. É possível adicionar esses arquivos após push do projeto no {% data variables.product.product_name %}. Para obter mais informações, confira "[Criar um repositório](/articles/creating-a-new-repository)".
+1. Create a new public repository on {% data variables.location.product_location %}. You can choose any repository name, or use the following `hello-world-composite-action` example. You can add these files after your project has been pushed to {% data variables.product.product_name %}. For more information, see "[Create a new repository](/articles/creating-a-new-repository)."
-1. Clone o repositório para seu computador. Para obter mais informações, confira "[Como clonar um repositório](/articles/cloning-a-repository)".
+1. Clone your repository to your computer. For more information, see "[Cloning a repository](/articles/cloning-a-repository)."
-1. No seu terminal, mude os diretórios para seu novo repositório.
+1. From your terminal, change directories into your new repository.
```shell
cd hello-world-composite-action
```
-2. No repositório `hello-world-composite-action`, crie um arquivo chamado `goodbye.sh` e adicione o seguinte código de exemplo:
+2. In the `hello-world-composite-action` repository, create a new file called `goodbye.sh`, and add the following example code:
```bash
echo "Goodbye"
```
-3. No terminal, torne `goodbye.sh` executável.
+3. From your terminal, make `goodbye.sh` executable.
```shell
chmod +x goodbye.sh
```
-1. Ainda no terminal, faça check-in do arquivo `goodbye.sh`.
+1. From your terminal, check in your `goodbye.sh` file.
```shell
git add goodbye.sh
git commit -m "Add goodbye script"
git push
```
-## Criar um arquivo de metadados de ação
+## Creating an action metadata file
-1. No repositório `hello-world-composite-action`, crie um arquivo chamado `action.yml` e adicione o código de exemplo a seguir. Para obter mais informações sobre essa sintaxe, confira "[`runs` para uma ação composta](/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-actions)".
+1. In the `hello-world-composite-action` repository, create a new file called `action.yml` and add the following example code. For more information about this syntax, see "[`runs` for a composite actions](/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-actions)".
- {% raw %} **action.yml**
+ {% raw %}
+ **action.yml**
```yaml
name: 'Hello World'
description: 'Greet someone'
@@ -84,21 +81,26 @@ Antes de começar, você criará um repositório em {% ifversion ghae %}{% data
steps:
- run: echo Hello ${{ inputs.who-to-greet }}.
shell: bash
- - id: random-number-generator
+ - id: random-number-generator{% endraw %}
+{%- ifversion actions-save-state-set-output-envs %}
+ run: echo "random-number=$(echo $RANDOM)" >> $GITHUB_OUTPUT
+{%- else %}
run: echo "::set-output name=random-number::$(echo $RANDOM)"
+{%- endif %}{% raw %}
shell: bash
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
- shell: bash
+ shell: bash
- run: goodbye.sh
shell: bash
```
- {% endraw %} Esse arquivo define a entrada `who-to-greet`, mapeia o número gerado aleatoriamente para a variável de saída `random-number` e executa o script `goodbye.sh`. Também informa ao executor como executar a ação composta.
+ {% endraw %}
+ This file defines the `who-to-greet` input, maps the random generated number to the `random-number` output variable, and runs the `goodbye.sh` script. It also tells the runner how to execute the composite action.
- Para obter mais informações sobre como gerenciar saídas, confira "[`outputs` para uma ação composta](/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-composite-actions)".
+ For more information about managing outputs, see "[`outputs` for a composite action](/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-composite-actions)".
- Para obter mais informações sobre como usar `github.action_path`, confira "[`github context`](/actions/reference/context-and-expression-syntax-for-github-actions#github-context)".
+ For more information about how to use `github.action_path`, see "[`github context`](/actions/reference/context-and-expression-syntax-for-github-actions#github-context)".
-1. No terminal, faça check-in do arquivo `action.yml`.
+1. From your terminal, check in your `action.yml` file.
```shell
git add action.yml
@@ -106,18 +108,18 @@ Antes de começar, você criará um repositório em {% ifversion ghae %}{% data
git push
```
-1. No seu terminal, adicione uma tag. Este exemplo usa uma tag chamada `v1`. Para obter mais informações, confira "[Sobre as ações](/actions/creating-actions/about-actions#using-release-management-for-actions)".
+1. From your terminal, add a tag. This example uses a tag called `v1`. For more information, see "[About actions](/actions/creating-actions/about-actions#using-release-management-for-actions)."
```shell
git tag -a -m "Description of this release" v1
git push --follow-tags
```
-## Testar sua ação em um fluxo de trabalho
+## Testing out your action in a workflow
-O código de fluxo de trabalho a seguir usa a ação olá, mundo concluída criada em "[Como criar um arquivo de metadados de ação](/actions/creating-actions/creating-a-composite-action#creating-an-action-metadata-file)".
+The following workflow code uses the completed hello world action that you made in "[Creating an action metadata file](/actions/creating-actions/creating-a-composite-action#creating-an-action-metadata-file)".
-Copie o código de fluxo de trabalho em um arquivo `.github/workflows/main.yml` em outro repositório, mas substitua `actions/hello-world-composite-action@v1` pelo repositório e pela tag que você criou. Você também pode substituir a entrada `who-to-greet` pelo seu nome.
+Copy the workflow code into a `.github/workflows/main.yml` file in another repository, but replace `actions/hello-world-composite-action@v1` with the repository and tag you created. You can also replace the `who-to-greet` input with your name.
**.github/workflows/main.yml**
```yaml
@@ -137,4 +139,4 @@ jobs:
shell: bash
```
-No repositório, clique na guia **Ações** e selecione a execução mais recente do fluxo de trabalho. A saída deve incluir: "Hello Mona the Octocat", o resultado do script "Goodbye" e um número aleatório.
+From your repository, click the **Actions** tab, and select the latest workflow run. The output should include: "Hello Mona the Octocat", the result of the "Goodbye" script, and a random number.
diff --git a/translations/pt-BR/content/actions/creating-actions/creating-a-docker-container-action.md b/translations/pt-BR/content/actions/creating-actions/creating-a-docker-container-action.md
index 0c94e6f3d0..6ea8fbe52c 100644
--- a/translations/pt-BR/content/actions/creating-actions/creating-a-docker-container-action.md
+++ b/translations/pt-BR/content/actions/creating-actions/creating-a-docker-container-action.md
@@ -1,6 +1,7 @@
---
-title: Criando uma ação de contêiner do Docker
-intro: 'Este guia apresenta as etapas mínimas exigidas para criar uma ação de contêiner Docker. '
+title: Creating a Docker container action
+shortTitle: Create a Docker container action
+intro: 'This guide shows you the minimal steps required to build a Docker container action. '
redirect_from:
- /articles/creating-a-docker-container-action
- /github/automating-your-workflow-with-github-actions/creating-a-docker-container-action
@@ -15,50 +16,47 @@ type: tutorial
topics:
- Action development
- Docker
-shortTitle: Docker container action
-ms.openlocfilehash: f22b361f25f406dfdb1233f4d9ce62f2b6b919dc
-ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
-ms.translationtype: HT
-ms.contentlocale: pt-BR
-ms.lasthandoff: 09/05/2022
-ms.locfileid: '147518781'
---
-{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
-## Introdução
+{% data reusables.actions.enterprise-beta %}
+{% data reusables.actions.enterprise-github-hosted-runners %}
-Neste guia, você aprenderá os componentes básicos necessários para criar e usar uma ação do contêiner Docker empacotado. Para manter o foco deste guia nos componentes necessários para empacotar a ação, a funcionalidade do código da ação é mínima. A ação imprime "Olá, mundo" nos registros ou "Olá, [who-to-greet]", se você fornecer um nome personalizado.
+## Introduction
-Ao terminar esse projeto, você entenderá como criar sua própria ação de contêiner Docker e poderá testá-la em um fluxo de trabalho.
+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.
{% data reusables.actions.self-hosted-runner-reqs-docker %}
{% data reusables.actions.context-injection-warning %}
-## Pré-requisitos
+## Prerequisites
-Pode ser útil ter um entendimento básico das variáveis do ambiente {% data variables.product.prodname_actions %} e do sistema de arquivo do contêiner Docker:
+You may find it helpful to have a basic understanding of {% data variables.product.prodname_actions %} environment variables and the Docker container filesystem:
-- "[Como usar variáveis de ambiente](/actions/automating-your-workflow-with-github-actions/using-environment-variables)" {% ifversion ghae %}
-- "[Sistema de arquivos do contêiner do Docker](/actions/using-github-hosted-runners/about-ae-hosted-runners#docker-container-filesystem)".
-{% else %}
-- "[Sobre executores hospedados no {% data variables.product.prodname_dotcom %}](/actions/using-github-hosted-runners/about-github-hosted-runners#docker-container-filesystem)" {% endif %}
+- "[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)."
+{% else %}
+- "[About {% data variables.product.prodname_dotcom %}-hosted runners](/actions/using-github-hosted-runners/about-github-hosted-runners#docker-container-filesystem)"
+{% endif %}
-Antes de começar, você deverá criar um repositório de {% data variables.product.prodname_dotcom %}.
+Before you begin, you'll need to create a {% data variables.product.prodname_dotcom %} repository.
-1. Crie um repositório novo no {% data variables.product.product_location %}. Você pode escolher qualquer nome para o repositório ou usar "hello-world-docker-action", como nesse exemplo. Para obter mais informações, confira "[Criar um repositório](/articles/creating-a-new-repository)".
+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. Clone o repositório para seu computador. Para obter mais informações, confira "[Como clonar um repositório](/articles/cloning-a-repository)".
+1. Clone your repository to your computer. For more information, see "[Cloning a repository](/articles/cloning-a-repository)."
-1. No seu terminal, mude os diretórios para seu novo repositório.
+1. From your terminal, change directories into your new repository.
```shell{:copy}
cd hello-world-docker-action
```
-## Criar um arquivo Docker
+## Creating a Dockerfile
-No diretório `hello-world-docker-action`, crie um arquivo `Dockerfile`. Verifique se o seu nome de arquivo está em maiúsculas corretamente (use um `D` maiúsculo, mas não um `f` maiúsculo) se estiver tendo problemas. Para obter mais informações, confira "[Suporte do Dockerfile para o {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions)".
+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)."
**Dockerfile**
```Dockerfile{:copy}
@@ -72,11 +70,12 @@ COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
```
-## Criar um arquivo de metadados de ação
+## Creating an action metadata file
-Crie um arquivo `action.yml` no diretório `hello-world-docker-action` que você criou acima. Para obter mais informações, confira "[Sintaxe de metadados do {% data variables.product.prodname_actions %}](/actions/creating-actions/metadata-syntax-for-github-actions)".
+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)."
-{% raw %} **action.yml**
+{% raw %}
+**action.yml**
```yaml{:copy}
# action.yml
name: 'Hello World'
@@ -97,19 +96,19 @@ runs:
```
{% endraw %}
-Esses metadados definem uma entrada `who-to-greet` e um parâmetro de saída `time`. Para transmitir entradas para o contêiner do Docker, você deve declarar a entrada usando `inputs` e transmitir a entrada na palavra-chave `args`. Tudo o que você inclui em `args` é transmitido para o contêiner, mas para ter uma melhor capacidade de descoberta para os usuários da sua ação, recomendamos o uso de entradas.
+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.
-O {% data variables.product.prodname_dotcom %} criará uma imagem com base no `Dockerfile` e executará comandos em um novo contêiner usando essa imagem.
+{% data variables.product.prodname_dotcom %} will build an image from your `Dockerfile`, and run commands in a new container using this image.
-## Gravar um código de ação
+## Writing the action code
-Você pode escolher qualquer imagem Docker de base e, portanto, qualquer linguagem para sua ação. O exemplo de script de shell a seguir usa a variável de entrada `who-to-greet` para imprimir "Olá, [quem deve ser saudado]" no arquivo de log.
+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.
-Na sequência, o script obtém a hora atual e a configura como uma variável de saída que pode ser usada pelas ações executadas posteriormente em um trabalho. Para que o {% data variables.product.prodname_dotcom %} reconheça variáveis de saída, você precisa usar um comando de fluxo de trabalho em uma sintaxe específica: `echo "::set-output name=