8000 repo sync by Octomerger · Pull Request #22427 · github/docs · GitHub
[go: up one dir, main page]

Skip to content

repo sync #22427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
New translation batch for pt (#33183)
  • Loading branch information
docubot authored Dec 2, 2022
commit 8c52107526c8196e46b2522ff132b48096f74114
18 changes: 3 additions & 15 deletions translations/log/msft-pt-resets.csv
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ translations/pt-BR/content/actions/learn-github-actions/expressions.md,rendering
translations/pt-BR/content/actions/learn-github-actions/finding-and-customizing-actions.md,broken liquid tags
translations/pt-BR/content/actions/learn-github-actions/understanding-github-actions.md,rendering error
translations/pt-BR/content/actions/learn-github-actions/usage-limits-billing-and-administration.md,rendering error
translations/pt-BR/content/actions/managing-issues-and-pull-requests/adding-labels-to-issues.md,broken liquid tags
translations/pt-BR/content/actions/managing-issues-and-pull-requests/moving-assigned-issues-on-project-boards.md,broken liquid tags
translations/pt-BR/content/actions/managing-workflow-runs/disabling-and-enabling-a-workflow.md,rendering error
translations/pt-BR/content/actions/managing-workflow-runs/manually-running-a-workflow.md,rendering error
Expand Down Expand Up @@ -590,7 +589,6 @@ translations/pt-BR/content/admin/identity-and-access-management/using-enterprise
translations/pt-BR/content/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/configuring-oidc-for-enterprise-managed-users.md,rendering error
translations/pt-BR/content/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/configuring-scim-provisioning-for-enterprise-managed-users.md,rendering error
translations/pt-BR/content/admin/identity-and-access-management/using-ldap-for-enterprise-iam/index.md,rendering error
translations/pt-BR/content/admin/identity-and-access-management/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md,broken liquid tags
translations/pt-BR/content/admin/identity-and-access-management/using-saml-for-enterprise-iam/enabling-encrypted-assertions.md,rendering error
translations/pt-BR/content/admin/identity-and-access-management/using-saml-for-enterprise-iam/saml-configuration-reference.md,broken liquid tags
translations/pt-BR/content/admin/identity-and-access-management/using-saml-for-enterprise-iam/switching-your-saml-configuration-from-an-organization-to-an-enterprise-account.md,broken liquid tags
Expand All @@ -600,7 +598,6 @@ translations/pt-BR/content/admin/installation/setting-up-a-github-enterprise-ser
translations/pt-BR/content/admin/installation/setting-up-a-github-enterprise-server-instance/installing-github-enterprise-server-on-google-cloud-platform.md,rendering error
translations/pt-BR/content/admin/installation/setting-up-a-github-enterprise-server-instance/installing-github-enterprise-server-on-openstack-kvm.md,rendering error
translations/pt-BR/content/admin/installation/setting-up-a-github-enterprise-server-instance/installing-github-enterprise-server-on-vmware.md,rendering error
translations/pt-BR/content/admin/monitoring-activity-in-your-enterprise/analyzing-how-your-team-works-with-server-statistics/about-server-statistics.md,rendering error
translations/pt-BR/content/admin/monitoring-activity-in-your-enterprise/analyzing-how-your-team-works-with-server-statistics/exporting-server-statistics.md,rendering error
translations/pt-BR/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity/managing-global-webhooks.md,rendering error
translations/pt-BR/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/about-the-audit-log-for-your-enterprise.md,rendering error
Expand All @@ -620,7 +617,6 @@ translations/pt-BR/content/admin/packages/getting-started-with-github-packages-f
translations/pt-BR/content/admin/packages/migrating-your-enterprise-to-the-container-registry-from-the-docker-registry.md,rendering error
translations/pt-BR/content/admin/policies/enforcing-policies-for-your-enterprise/about-enterprise-policies.md,broken liquid tags
translations/pt-BR/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md,rendering error
translations/pt-BR/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise.md,broken liquid tags
translations/pt-BR/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise.md,broken liquid tags
translations/pt-BR/content/admin/policies/enforcing-policy-with-pre-receive-hooks/about-pre-receive-hooks.md,rendering error
translations/pt-BR/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md,rendering error
Expand All @@ -644,9 +640,9 @@ translations/pt-BR/content/authentication/connecting-to-github-with-ssh/checking
translations/pt-BR/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md,rendering error
translations/pt-BR/content/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection.md,rendering error
translations/pt-BR/content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md,rendering error
translations/pt-BR/content/authentication/keeping-your-account-and-data-secure/authorizing-oauth-apps.md,rendering error
translations/pt-BR/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md,rendering error
translations/pt-BR/content/authentication/keeping-your-account-and-data-secure/creating-a-strong-password.md,rendering error
translations/pt-BR/content/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints.md,broken liquid tags
translations/pt-BR/content/authentication/keeping-your-account-and-data-secure/preventing-unauthorized-access.md,rendering error
translations/pt-BR/content/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository.md,rendering error
translations/pt-BR/content/authentication/keeping-your-account-and-data-secure/reviewing-your-deploy-keys.md,rendering error
Expand Down Expand Up @@ -726,6 +722,7 @@ translations/pt-BR/content/code-security/secret-scanning/defining-custom-pattern
translations/pt-BR/content/code-security/secret-scanning/managing-alerts-from-secret-scanning.md,rendering error
translations/pt-BR/content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md,rendering error
translations/pt-BR/content/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection.md,rendering error
translations/pt-BR/content/code-security/secret-scanning/secret-scanning-patterns.md,rendering error
translations/pt-BR/content/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database.md,rendering error
translations/pt-BR/content/code-security/security-advisories/guidance-on-reporting-and-writing/managing-privately-reported-security-vulnerabilities.md,rendering error
translations/pt-BR/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md,rendering error
Expand All @@ -742,19 +739,14 @@ translations/pt-BR/content/code-security/supply-chain-security/understanding-you
translations/pt-BR/content/codespaces/codespaces-reference/security-in-github-codespaces.md,broken liquid tags
translations/pt-BR/content/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository.md,rendering error
translations/pt-BR/content/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template.md,rendering error
translations/pt-BR/content/codespaces/developing-in-codespaces/stopping-and-starting-a-codespace.md,broken liquid tags
translations/pt-BR/content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md,rendering error
translations/pt-BR/content/codespaces/setting-up-your-project-for-codespaces/adding-a-codespaces-badge.md,rendering error
translations/pt-BR/content/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers.md,broken liquid tags
translations/pt-BR/content/codespaces/troubleshooting/troubleshooting-prebuilds.md,rendering error
translations/pt-BR/content/communities/documenting-your-project-with-wikis/about-wikis.md,rendering error
translations/pt-BR/content/communities/documenting-your-project-with-wikis/changing-access-permissions-for-wikis.md,rendering error
translations/pt-BR/content/communities/documenting-your-project-with-wikis/editing-wiki-content.md,rendering error
translations/pt-BR/content/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors.md,rendering error
translations/pt-BR/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-a-jetbrains-ide.md,broken liquid tags
translations/pt-BR/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md,broken liquid tags
translations/pt-BR/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio-code.md,broken liquid tags
translations/pt-BR/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio.md,broken liquid tags
translations/pt-BR/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository.md,rendering error
translations/pt-BR/content/copilot/quickstart.md,broken liquid tags
translations/pt-BR/content/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/cloning-a-repository-from-github-to-github-desktop.md,rendering error
translations/pt-BR/content/desktop/contributing-and-collaborating-using-github-desktop/making-changes-in-a-branch/index.md,broken liquid tags
Expand Down Expand Up @@ -898,7 +890,6 @@ translations/pt-BR/content/pull-requests/collaborating-with-pull-requests/propos
translations/pt-BR/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/keeping-your-pull-request-in-sync-with-the-base-branch.md,rendering error
translations/pt-BR/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request.md,rendering error
translations/pt-BR/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md,rendering error
translations/pt-BR/content/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork.md,rendering error
translations/pt-BR/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message.md,rendering error
translations/pt-BR/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-on-behalf-of-an-organization.md,rendering error
translations/pt-BR/content/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors.md,rendering error
Expand Down Expand Up @@ -1043,7 +1034,6 @@ translations/pt-BR/data/reusables/advanced-security/secret-scanning-add-custom-p
translations/pt-BR/data/reusables/advanced-security/secret-scanning-create-custom-pattern.md,rendering error
translations/pt-BR/data/reusables/advanced-security/secret-scanning-push-protection-org.md,broken liquid tags
translations/pt-BR/data/reusables/apps/user-to-server-rate-limits.md,broken liquid tags
translations/pt-BR/data/reusables/audit_log/audit-log-action-categories.md,broken liquid tags
translations/pt-BR/data/reusables/audit_log/audit_log_sidebar_for_org_admins.md,rendering error
translations/pt-BR/data/reusables/audit_log/audit_log_sidebar_for_site_admins.md,rendering error
translations/pt-BR/data/reusables/branches/new-repo-default-branch.md,rendering error
Expand Down Expand Up @@ -1118,7 +1108,6 @@ translations/pt-BR/data/reusables/getting-started/enforcing-repo-management-poli
translations/pt-BR/data/reusables/getting-started/enterprise-advanced-security.md,broken liquid tags
translations/pt-BR/data/reusables/getting-started/managing-enterprise-members.md,rendering error
translations/pt-BR/data/reusables/git/git-push.md,rendering error
translations/pt-BR/data/reusables/identity-and-permissions/ip-allow-lists-enterprise.md,broken liquid tags
translations/pt-BR/data/reusables/identity-and-permissions/vigilant-mode-beta-note.md,rendering error
translations/pt-BR/data/reusables/large_files/storage_assets_location.md,broken liquid tags
translations/pt-BR/data/reusables/large_files/use_lfs_tip.md,rendering error
Expand All @@ -1130,7 +1119,6 @@ translations/pt-BR/data/reusables/organizations/github-apps-settings-sidebar.md,
translations/pt-BR/data/reusables/organizations/member-privileges.md,rendering error
translations/pt-BR/data/reusables/organizations/navigate-to-org.md,rendering error
translations/pt-BR/data/reusables/organizations/repository-defaults.md,rendering error
translations/pt-BR/data/reusables/organizations/require-ssh-cert.md,broken liquid tags
translations/pt-BR/data/reusables/organizations/security-and-analysis.md,rendering error
translations/pt-BR/data/reusables/organizations/security.md,rendering error
translations/pt-BR/data/reusables/organizations/teams_sidebar.md,rendering error
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Adding labels to issues
title: Adicionando etiquetas a problemas
shortTitle: Add labels to issues
intro: 'You can use {% data variables.product.prodname_actions %} to automatically label issues.'
intro: 'Você pode usar {% data variables.product.prodname_actions %} para etiquetar problemas automaticamente.'
redirect_from:
- /actions/guides/adding-labels-to-issues
versions:
Expand All @@ -13,24 +13,28 @@ type: tutorial
topics:
- Workflows
- Project management
ms.openlocfilehash: a3523069b9422ecd8107007ca5e00fb0071dd738
ms.sourcegitcommit: 4d6d3735d32540cb6de3b95ea9a75b8b247c580d
ms.translationtype: HT
ms.contentlocale: pt-BR
ms.lasthandoff: 11/30/2022
ms.locfileid: '148185558'
---
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}

{% data reusables.actions.enterprise-beta %}
{% data reusables.actions.enterprise-github-hosted-runners %}
## Introdução

## Introduction
Este tutorial demonstra como usar a [ação `actions/github-script`](https://github.com/marketplace/actions/github-script) em um fluxo de trabalho para rotular os problemas recém-abertos ou reabertos. Por exemplo, você pode adicionar o rótulo `triage` sempre que um problema é aberto ou reaberto. Em seguida, veja todos os problemas que precisam ser triagem filtrando os problemas com o rótulo `triage`.

This tutorial demonstrates how to use the [`actions/github-script` action](https://github.com/marketplace/actions/github-script) in a workflow to label newly opened or reopened issues. For example, you can add the `triage` label every time an issue is opened or reopened. Then, you can see all issues that need to be triaged by filtering for issues with the `triage` label.
A ação `actions/github-script` permite que você use facilmente a API do {% data variables.product.prodname_dotcom %} em um fluxo de trabalho.

The `actions/github-script` action allows you to easily use the {% data variables.product.prodname_dotcom %} API in a workflow.
No tutorial, primeiro, você criará um arquivo de fluxo de trabalho que usa a [ação `actions/github-script`](https://github.com/marketplace/actions/github-script). Então, você personalizará o fluxo de trabalho para atender às suas necessidades.

In the tutorial, you will first make a workflow file that uses the [`actions/github-script` action](https://github.com/marketplace/actions/github-script). Then, you will customize the workflow to suit your needs.

## Creating the workflow
## Criar o fluxo de trabalho

1. {% data reusables.actions.choose-repo %}
2. {% data reusables.actions.make-workflow-file %}
3. Copy the following YAML contents into your workflow file.
3. Copie o seguinte conteúdo YAML para o arquivo do fluxo de trabalho.

```yaml{:copy}
name: Label issues
Expand All @@ -56,23 +60,23 @@ In the tutorial, you will first make a workflow file that uses the [`actions/git
})
```

4. Customize the `script` parameter in your workflow file:
- The `issue_number`, `owner`, and `repo` values are automatically set using the `context` object. You do not need to change these.
- Change the value for `labels` to the list of labels that you want to add to the issue. Separate multiple labels with commas. For example, `["help wanted", "good first issue"]`. For more information about labels, see "[Managing labels](/github/managing-your-work-on-github/managing-labels#applying-labels-to-issues-and-pull-requests)."
4. Personalize o parâmetro `script` no seu arquivo do fluxo de trabalho:
- Os valores `issue_number`, `owner` e `repo` são definidos automaticamente com o objeto `context`. Não é necessário alterar esses padrões.
- Altere o valor de `labels` para a lista de rótulos que deseja adicionar ao problema. Separe etiquetas múltiplas com vírgulas. Por exemplo, `["help wanted", "good first issue"]`. Para obter mais informações sobre rótulos, confira "[Como gerenciar rótulos](/github/managing-your-work-on-github/managing-labels#applying-labels-to-issues-and-pull-requests)".
5. {% data reusables.actions.commit-workflow %}

## Testing the workflow
## Testar o fluxo de trabalho

Every time an issue in your repository is opened or reopened, this workflow will add the labels that you specified to the issue.
Toda vez que um problema no seu repositório for aberto ou reaberto, esse fluxo de trabalho adicionará as etiquetas que você especificou ao problema.

Test out your workflow by creating an issue in your repository.
Teste o seu fluxo de trabalho criando um problema no seu repositório.

1. Create an issue in your repository. For more information, see "[Creating an issue](/github/managing-your-work-on-github/creating-an-issue)."
2. To see the workflow run that was triggered by creating the issue, view the history of your workflow runs. For more information, see "[Viewing workflow run history](/actions/managing-workflow-runs/viewing-workflow-run-history)."
3. When the workflow completes, the issue that you created should have the specified labels added.
1. Crie um problema no seu repositório. Para obter mais informações, confira "[Como criar um problema](/github/managing-your-work-on-github/creating-an-issue)".
2. Para ver a execução do fluxo de trabalho que foi acionada criando o problema, veja o histórico de execuções do seu fluxo de trabalho. Para obter mais informações, confira "[Como ver o histórico de execução do fluxo de trabalho](/actions/managing-workflow-runs/viewing-workflow-run-history)".
3. Quando o fluxo de trabalho é concluído, o problema que você criou deve ter as etiquetas especificadas adicionadas.

## Next steps
## Próximas etapas

- To learn more about additional things you can do with the `actions/github-script` action, see the [`actions/github-script` action documentation](https://github.com/marketplace/actions/github-script).
- To learn more about different events that can trigger your workflow, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#issues)."
- [Search GitHub](https://github.com/search?q=%22uses:+actions/github-script%22&type=code) for examples of workflows using this action.
- Para saber sobre mais coisas que podem ser feitas com a ação `actions/github-script`, confira a [documentação da ação `actions/github-script`](https://github.com/marketplace/actions/github-script).
- Para saber mais sobre diferentes eventos que podem disparar seu fluxo de trabalho, confira "[Eventos que disparam fluxos de trabalho](/actions/reference/events-that-trigger-workflows#issues)".
- [Pesquise o GitHub](https://github.com/search?q=%22uses:+actions/github-script%22&type=code) para ver exemplos de fluxos de trabalho que usam essa ação.
Loading
0