Skip to content

repo sync #18897

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 2 commits into from
Jun 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Build with Gradle
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: build
```
Expand Down Expand Up @@ -105,7 +105,7 @@ steps:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Run the Gradle package task
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: -b ci.gradle package
```
Expand Down Expand Up @@ -136,7 +136,7 @@ steps:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Build with Gradle
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: build
- uses: {% data reusables.actions.action-upload-artifact %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ env:
API_LOCATION: "api" # location of your api source code - optional
APP_ARTIFACT_LOCATION: "build" # location of client code build output

on:
on:
push:
branches:
- main
Expand All @@ -72,6 +72,7 @@ env:

permissions:
issues: write
contents: read

jobs:
build_and_deploy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,13 @@ versions:
ghes: '>= 3.5'
ghae: issue-4925
ghec: '*'
showMiniToc: false
type: how_to
topics:
- Workflows
---

{% data reusables.actions.enterprise-github-hosted-runners %}

- [Visão geral do exemplo](#example-overview)
- [Características utilizadas neste exemplo](#features-used-in-this-example)
- [Exemplo de fluxo de trabalho](#example-workflow)
- [Entendendo o exemplo](#understanding-the-example)
- [Próximas etapas](#next-steps)

## Visão geral do exemplo

{% data reusables.actions.example-workflow-intro-ci %} Quando este fluxo de trabalho é acionado, ele testa seu código usando uma matriz de combinações de teste com `teste de npm`.
Expand Down Expand Up @@ -54,7 +47,7 @@ topics:

{% data reusables.actions.note-understanding-example %}

<table style="width:350px">
<table style="table-layout: fixed;">
<thead>
<tr>
<th style="width:100%"></th>
Expand Down Expand Up @@ -222,7 +215,7 @@ jobs:

 {% data reusables.actions.example-explanation-table-intro %}

<table style="width:350px">
<table style="table-layout: fixed;">
<thead>
<tr>
<th style="width:60%"><b>Código</b></th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,13 @@ versions:
ghes: '> 3.1'
ghae: '*'
ghec: '*'
showMiniToc: false
type: how_to
topics:
- Workflows
---

{% data reusables.actions.enterprise-github-hosted-runners %}

- [Visão geral do exemplo](#example-overview)
- [Características utilizadas neste exemplo](#features-used-in-this-example)
- [Exemplo de fluxo de trabalho](#example-workflow)
- [Entendendo o exemplo](#understanding-the-example)
- [Próximas etapas](#next-steps)

## Visão geral do exemplo

{% data reusables.actions.example-workflow-intro-ci %} Quando esse fluxo de trabalho é acionado, ele executa automaticamente um script que verifica se o site Docs de {% data variables.product.prodname_dotcom %} tem algum link quebrado.
Expand Down Expand Up @@ -52,7 +45,7 @@ topics:

{% data reusables.actions.note-understanding-example %}

<table style="width:350px">
<table style="table-layout: fixed;">
<thead>
<tr>
<th style="width:100%"></th>
Expand Down Expand Up @@ -140,7 +133,7 @@ jobs:

{% data reusables.actions.example-explanation-table-intro %}

<table style="width:350px">
<table style="table-layout: fixed;">
<thead>
<tr>
<th style="width:60%"><b>Código</b></th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,13 @@ versions:
ghes: '> 3.1'
ghae: '*'
ghec: '*'
showMiniToc: false
type: how_to
topics:
- Workflows
---

{% data reusables.actions.enterprise-github-hosted-runners %}

- [Visão geral do exemplo](#example-overview)
- [Características utilizadas neste exemplo](#features-used-in-this-example)
- [Exemplo de fluxo de trabalho](#example-workflow)
- [Entendendo o exemplo](#understanding-the-example)
- [Próximas etapas](#next-steps)

## Visão geral do exemplo

{% data reusables.actions.example-workflow-intro-ci %} Quando esse fluxo de trabalho é acionado, ele executa automaticamente um script que verifica se o site Docs de {% data variables.product.prodname_dotcom %} tem algum link quebrado. Se algum link quebrado for encontrado, o fluxo de trabalho usará a CLI de {% data variables.product.prodname_dotcom %} para criar um problema de {% data variables.product.prodname_dotcom %} com os detalhes.
Expand Down Expand Up @@ -50,7 +43,7 @@ topics:

{% data reusables.actions.note-understanding-example %}

<table style="width:350px">
<table style="table-layout: fixed;">
<thead>
<tr>
<th style="width:70%"></th>
Expand Down Expand Up @@ -181,7 +174,7 @@ jobs:

{% data reusables.actions.example-explanation-table-intro %}

<table style="width:350px">
<table style="table-layout: fixed;">
<thead>
<tr>
<th style="width:60%"><b>Código</b></th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Publish package
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: publish
env:
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Publish package
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: publish
env:
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Publish package
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: publish
env: {% raw %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ Enquanto o trabalho é executado, os logs e saídas podem ser visualizados na in

Especificação de hardware para máquinas virtuais do Windows e Linux:
- CPU dual core
- 7 GB de memória RAM
- 14 GB de espaço de disco SSD
- 7 GB of RAM
- 14 GB of SSD space

Especificação de hardware para máquinas virtuais do macOS:
- CPU de 3 núcleos
- 14 GB de memória RAM
- 14 GB de espaço de disco SSD
- 14 GB of RAM
- 14 GB of SSD space

{% data reusables.actions.supported-github-runners %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ shortTitle: Instalar no AWS
- Você deve ter uma conta do AWS que possa iniciar instâncias do EC2 e criar volumes EBS. Para obter mais informações, consulte o [site do Amazon Web Services](https://aws.amazon.com/).
- A maioria das ações necessárias para iniciar a {% data variables.product.product_location %} também pode ser executada usando o console de gerenciamento do AWS. No entanto, é recomendável instalar a interface da linha de comando (CLI) do AWS para a configuração inicial. Veja abaixo alguns exemplos de uso da CLI do AWS. Para obter mais informações, consulte os guias "[Trabalhar com o console de gerenciamento do AWS](http://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/getting-started.html)" e "[O que é a interface da linha de comando do AWS](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)".

{% note %}

**Note:** At this time {% data variables.product.prodname_ghe_server %} does not support the use of the Amazon IDMSv2 Metadata API.

{% endnote %}

Para usar este guia, você deve conhecer os seguintes conceitos do AWS:

- [Iniciar instâncias do EC2](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/LaunchingAndUsingInstances.html)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ No momento, a API de Migrações está em período de exibição. Ou seja, os po
```shell
curl -H "Authorization: token <em>GITHUB_ACCESS_TOKEN</em>" \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Accept: application/vnd.github+json" \
-d'{"lock_repositories":true,"repositories":["<em>orgname</em>/<em>reponame</em>", "<em>orgname</em>/<em>reponame</em>"]}' \
https://api.github.com/orgs/<em>orgname</em>/migrations
```
Expand All @@ -61,7 +61,7 @@ No momento, a API de Migrações está em período de exibição. Ou seja, os po
* `id` exclusivo da migração.
```shell
curl -H "Authorization: token <em>GITHUB_ACCESS_TOKEN</em>" \
-H "Accept: application/vnd.github.v3+json" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/orgs/<em>orgname</em>/migrations/<em>id</em>
```

Expand All @@ -76,7 +76,7 @@ No momento, a API de Migrações está em período de exibição. Ou seja, os po
* `id` exclusivo da migração.
```shell
curl -H "Authorization: token <em>GITHUB_ACCESS_TOKEN</em>" \
-H "Accept: application/vnd.github.v3+json" \
-H "Accept: application/vnd.github+json" \
-L -o migration_archive.tar.gz \
https://api.github.com/orgs/<em>orgname</em>/migrations/<em>id</em>/archive
```
Expand All @@ -87,7 +87,7 @@ No momento, a API de Migrações está em período de exibição. Ou seja, os po
```shell
curl -H "Authorization: token <em>GITHUB_ACCESS_TOKEN</em>" \
-X DELETE \
-H "Accept: application/vnd.github.v3+json" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/orgs/<em>orgname</em>/migrations/<em>id</em>/archive
```
{% data reusables.enterprise_migrations.ready-to-import-migrations %}
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,21 @@ A aba de {% data variables.product.prodname_dependabot_alerts %} do seu reposit

{% data variables.product.product_name %} gera {% data variables.product.prodname_dependabot_alerts %} quando detectamos que sua base de código está usando dependências com riscos de segurança conhecidos. Para repositórios em que {% data variables.product.prodname_dependabot_security_updates %} estão habilitados, quando {% data variables.product.product_name %} detecta uma dependência vulnerável no branch padrão, {% data variables.product.prodname_dependabot %} cria um pull request para corrigi-la. O pull request irá atualizar a dependência para a versão minimamente segura possível, o que é necessário para evitar a vulnerabilidade.

{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5638 %}Você pode classificar e filtrar {% data variables.product.prodname_dependabot_alerts %} com os menus suspensos na aba {% data variables.product.prodname_dependabot_alerts %} ou digitando filtros como pares de `key:value` na barra de pesquisa. Os filtros disponíveis são repositório (por exemplo, `repo:my-repository`), pacote (por exemplo `package:django`), ecossistema (por exemplo, `ecosystem:npm`), manifesto (por exemplo, `manifest:webwolf/pom.xml`), status (for example, `is:open`), e se uma consultoria tem uma atualização (por exemplo, `has: patch`).
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5638 %}Você pode classificar e filtrar {% data variables.product.prodname_dependabot_alerts %} com os menus suspensos na aba {% data variables.product.prodname_dependabot_alerts %} ou digitando filtros como pares de `key:value` na barra de pesquisa. The available filters are repository (for example, `repo:my-repository`), package (for example, `package:django`), ecosystem (for example, `ecosystem:npm`), manifest (for example, `manifest:webwolf/pom.xml`), state (for example, `is:open`), and whether an advisory has a patch (for example, `has: patch`).{% ifversion dependabot-alerts-development-label %} You can also filter alerts with dependency scope data using `scope`, for example: `scope:development` or `scope:runtime`. With `scope:development`, the list of alerts will only show dependencies used during development, not production.{% endif %}

Cada alerta de {% data variables.product.prodname_dependabot %} tem um identificador único de número e a aba de {% data variables.product.prodname_dependabot_alerts %} lista um alerta para cada vulnerabilidade detectada. O legado de {% data variables.product.prodname_dependabot_alerts %} agrupou as vulnerabilidades por dependência e gerou um único alerta por dependência. Se você acessar um alerta de legado {% data variables.product.prodname_dependabot %}, você será redirecionado para uma aba de {% data variables.product.prodname_dependabot_alerts %} filtrada para esse pacote. {% endif %}
{% endif %}

{% ifversion dependabot-alerts-development-label %}
## Supported ecosystems and manifests for dependency scope

<!-- TODO: for now we'd have this table and heading as they are, but we're planning to replace this with at a later date a new heading containing all the available filters in one or more tables -->
{% data reusables.dependabot.dependabot-alerts-dependency-scope %}

Alerts for packages listed as development dependencies are marked with the `Development` label on the {% data variables.product.prodname_dependabot_alerts %} page and are also available for filtering via the `scope` filter. ![Screenshot showing the "Development" label in the list of alerts](/assets/images/help/repository/dependabot-alerts-development-label.png)

The alert details page of alerts on development-scoped packages shows a "Tags" section containing a `Development` label. ![Screenshot showing the "Tags" section in the alert details page](/assets/images/help/repository/dependabot-alerts-tags-section.png)

Cada alerta {% data variables.product.prodname_dependabot %} tem um identificador numérico único e a aba {% data variables.product.prodname_dependabot_alerts %} lista um alerta para cada vulnerabilidade detectada{% ifversion GH-advisory-db-supports-malware %} ou malware{% endif %}. O legado de {% data variables.product.prodname_dependabot_alerts %} agrupou as vulnerabilidades por dependência e gerou um único alerta por dependência. Se você acessar um alerta de legado {% data variables.product.prodname_dependabot %}, você será redirecionado para uma aba de {% data variables.product.prodname_dependabot_alerts %} filtrada para esse pacote. {% endif %}
{% endif %}

{% ifversion dependabot-alerts-vulnerable-calls %}
Expand Down Expand Up @@ -78,9 +90,15 @@ Para obter mais informações, consulte "[Revisando e corrigindo alertas](#revie
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-security %}
{% data reusables.repositories.sidebar-dependabot-alerts %}
1. Opcionalmente, para filtrar alertas, selecione o menu suspenso **Repositório**, **Pacote**, **Ecossistema** ou **Manifesto** e clique no filtro que você gostaria de aplicar. Você também pode digitar filtros na barra de pesquisa. Por exemplo, `ecosystem:npm` ou `has:patch`. Para classificar os alertas, selecione o menu suspenso **Classificar** e clique na opção que você gostaria de classificar.{% ifversion dependabot-bulk-alerts %} ![Screenshot of the filter and sort menus in the {% data variables.product.prodname_dependabot_alerts %} tab](/assets/images/help/graphs/dependabot-alerts-filters-checkbox.png){% else %}
![Screenshot of the filter and sort menus in the {% data variables.product.prodname_dependabot_alerts %} tab](/assets/images/enterprise/3.5/dependabot/dependabot-alerts-filters.png){% endif %}
2. Clique no alerta que você gostaria de ver.{% ifversion dependabot-bulk-alerts %} ![Alert selected in list of alerts](/assets/images/help/graphs/click-alert-in-alerts-list-checkbox.png){% else %}
1. Opcionalmente, para filtrar alertas, selecione o menu suspenso **Repositório**, **Pacote**, **Ecossistema** ou **Manifesto** e clique no filtro que você gostaria de aplicar. Você também pode digitar filtros na barra de pesquisa. For example, `ecosystem:npm`{% ifversion ghes < 3.7 or ghae-issue-5638 %} or `has:patch`{% endif %}{% ifversion dependabot-alerts-development-label %}, `has:patch` or `scope:development`{% endif %}. Para ordenar alertas, selecione o menu suspenso **Ordenar** e clique na opção que deseja ordenar.

You can also click a label on an alert to only show alerts of that type.{% ifversion dependabot-alerts-development-label %} For example, clicking the `Development` label in the list of alerts will only show alerts relating to dependencies used in development, not production. For information about the list of ecosystems supported, see "[Supported ecosystems and manifests for dependency scope ](#supported-ecosystems-and-manifests-for-dependency-scope)."

{% endif %}
{%- ifversion dependabot-bulk-alerts %}
![Captura de tela dos menus filtro e ordenação na aba de {% data variables.product.prodname_dependabot_alerts %}](/assets/images/help/graphs/dependabot-alerts-filters-checkbox.png){% else %}
![Screenshot of the filter and sort menus in the {% data variables.product.prodname_dependabot_alerts %} tab](/assets/images/enterprise/3.5/dependabot/dependabot-alerts-filters.png){% endif %}
1. Clique no alerta que você gostaria de ver.{% ifversion dependabot-bulk-alerts %} ![Alert selected in list of alerts](/assets/images/help/graphs/click-alert-in-alerts-list-checkbox.png){% else %}
![Alert selected in list of alerts](/assets/images/enterprise/3.5/dependabot/click-alert-in-alerts-list-ungrouped.png){% endif %}

{% else %}
Expand Down Expand Up @@ -108,7 +126,7 @@ Para as linguagens compatíveis, {% data variables.product.prodname_dependabot %

1. Ver detalhes de um alerta. Para obter mais informações, consulte "[Visualizando {% data variables.product.prodname_dependabot_alerts %}](#viewing-dependabot-alerts)" (acima).
{% ifversion fpt or ghec or ghes > 3.2 %}
1. Se você tiver {% data variables.product.prodname_dependabot_security_updates %} habilitado, é possível que haja um link para um pull request que irá corrigir a dependência. Como alternativa, você pode clicar em **Criar {% data variables.product.prodname_dependabot %} atualização de segurança** na parte superior da página de detalhes do alerta para criar um pull request. ![Crie um botão de atualização de segurança do {% data variables.product.prodname_dependabot %}](/assets/images/help/repository/create-dependabot-security-update-button-ungrouped.png)
1. Se você tiver {% data variables.product.prodname_dependabot_security_updates %} habilitado, é possível que haja um link para um pull request que irá corrigir a dependência. Como alternativa, você pode clicar em **Criar {% data variables.product.prodname_dependabot %} atualização de segurança** na parte superior da página de detalhes do alerta para criar um pull request. ![Create {% data variables.product.prodname_dependabot %} security update button](/assets/images/help/repository/create-dependabot-security-update-button-ungrouped.png)
1. Opcionalmente, se você não usar {% data variables.product.prodname_dependabot_security_updates %}, você pode usar as informações na página para decidir para qual versão de dependência atualizar e criar um pull request para atualizar a dependência de uma versão segura.
{% elsif ghes < 3.3 or ghae %}
1. Você pode usar as informações na página para decidir para qual versão da dependência atualizar e criar um pull request para o manifesto ou bloquear arquivo para uma versão segura.
Expand Down
Loading