Skip to content

Commit 84611d2

Browse files
authored
Merge pull request github#16211 from github/repo-sync
repo sync
2 parents 7c4cfb3 + 2623764 commit 84611d2

File tree

214 files changed

+1291
-1031
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+1291
-1031
lines changed

.github/workflows/azure-preview-env-destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
# This will fail if the IMAGE_REPO doesn't exist, but we don't care
6262
- name: 'Untag all docker images for this PR'
6363
run: |
64-
az acr repository delete -n ${{ secrets.NONPROD_REGISTRY_NAME }} --repository ${{ env.IMAGE_REPO }} -y || true
64+
az acr repository delete -n ${{ secrets.NONPROD_REGISTRY_SERVER }} --repository ${{ env.IMAGE_REPO }} -y || true
6565
6666
# Remove all GitHub deployments from this environment and remove the environment
6767
- uses: strumwolf/delete-deployment-environment@45c821e46baa405e25410700fe2e9643929706a0

translations/log/pt-resets.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ translations/pt-BR/content/actions/hosting-your-own-runners/adding-self-hosted-r
55
translations/pt-BR/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md,broken liquid tags
66
translations/pt-BR/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md,broken liquid tags
77
translations/pt-BR/content/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow.md,Listed in localization-support#489
8+
translations/pt-BR/content/admin/configuration/configuring-github-connect/managing-github-connect.md,broken liquid tags
89
translations/pt-BR/content/admin/configuration/configuring-your-enterprise/configuring-rate-limits.md,broken liquid tags
910
translations/pt-BR/content/admin/configuration/configuring-your-enterprise/site-admin-dashboard.md,broken liquid tags
1011
translations/pt-BR/content/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources/increasing-cpu-or-memory-resources.md,broken liquid tags
@@ -20,6 +21,7 @@ translations/pt-BR/content/code-security/code-scanning/automatically-scanning-yo
2021
translations/pt-BR/content/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning.md,broken liquid tags
2122
translations/pt-BR/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md,broken liquid tags
2223
translations/pt-BR/content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/configuring-codeql-runner-in-your-ci-system.md,broken liquid tags
24+
translations/pt-BR/content/code-security/secret-scanning/about-secret-scanning.md,broken liquid tags
2325
translations/pt-BR/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md,broken liquid tags
2426
translations/pt-BR/content/desktop/installing-and-configuring-github-desktop/overview/creating-your-first-repository-using-github-desktop.md,broken liquid tags
2527
translations/pt-BR/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved.md,broken liquid tags

translations/pt-BR/content/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ shortTitle: Contribuições ausentes
1919

2020
Seu gráfico de contribuições de perfil é um registro de contribuições que você fez para repositórios {% ifversion ghae %}pertencentes a{% else %}em{% endif %} {% data variables.product.product_location %}. As contribuições recebem registros de data e hora de acordo com o UTC (Coordinated Universal Time, Horário universal coordenado), e não com o fuso horário local. As contribuições só serão contabilizadas se atenderem a determinados critérios. Em alguns casos, pode ser necessário recriar o gráfico para que as contribuições sejam exibidas.
2121

22+
If you are part of an organization that uses SAML single sign-on (SSO), you won’t be able to see contribution activity from the organization on your profile if you do not have an active SSO session. People viewing your profile from outside your organization will see anonymized contribution activity of your contribution activity for your organization.
23+
2224
## Contribuições que são contabilizadas
2325

2426
### Problemas, pull requests e discussões

translations/pt-BR/content/actions/creating-actions/creating-a-javascript-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ No diretório `hello-world-javascript-action`, crie um arquivo `README.md` que e
141141
- Variáveis de ambiente usadas pela ação;
142142
- Um exemplo de uso da ação no fluxo de trabalho.
143143

144-
```markdown
144+
```markdown{:copy}
145145
# Hello world javascript action
146146
147147
Esta ação imprime "Hello World" ou "Hello" + o nome de uma pessoa a ser cumprimentada no log.
@@ -193,7 +193,7 @@ Verificar seu diretório `node_modules` pode causar problemas. Como alternativa,
193193
1. Se você já verificou o diretório `node_modules`, remova-o. `rm -rf node_modules/*`
194194

195195
1. No seu terminal, faça commit das atualizações para os arquivos `action.yml`, `dist/index.js` e `node_modules`.
196-
```shell
196+
```shell{:copy}
197197
git add action.yml dist/index.js node_modules/*
198198
git commit -m "Use vercel/ncc"
199199
git tag -a -m "My first action release" v1.1

translations/pt-BR/content/actions/deployment/about-deployments/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ shortTitle: Sobre implantações
44
intro: 'Aprenda como as implantações podem ser executadas com fluxos de trabalho de {% data variables.product.prodname_actions %}.'
55
versions:
66
fpt: '*'
7-
ghae: issue-4856
7+
ghes: '*'
8+
ghae: '*'
89
ghec: '*'
910
children:
1011
- /about-continuous-deployment

translations/pt-BR/content/actions/deployment/deploying-xcode-applications/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ shortTitle: Fazendo a implantação de aplicativos Xcode
44
intro: 'Você pode assinar aplicativos Xcode na sua integração contínua (CI) instalando um certificado de assinatura de código da Apple nos executores de {% data variables.product.prodname_actions %}.'
55
versions:
66
fpt: '*'
7-
ghae: issue-4856
7+
ghes: '*'
8+
ghae: '*'
89
ghec: '*'
910
children:
1011
- /installing-an-apple-certificate-on-macos-runners-for-xcode-development

translations/pt-BR/content/actions/deployment/managing-your-deployments/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ shortTitle: Gerenciando as suas implantações
44
intro: Você pode revisar a atividade anterior das suas implantações.
55
versions:
66
fpt: '*'
7-
ghae: issue-4856
7+
ghes: '*'
8+
ghae: '*'
89
ghec: '*'
910
children:
1011
- /viewing-deployment-history

translations/pt-BR/content/actions/deployment/targeting-different-environments/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ shortTitle: Apontando para diferentes ambientes
44
intro: Você pode configurar ambientes com regras de proteção e segredos. Um trabalho de fluxo de trabalho que faz referência a um ambiente deve seguir quaisquer regras de proteção para o ambiente antes de executar ou acessar os segredos do ambiente.
55
versions:
66
fpt: '*'
7-
ghae: issue-4856
7+
ghes: '*'
8+
ghae: '*'
89
ghec: '*'
910
children:
1011
- /using-environments-for-deployment

translations/pt-BR/content/actions/hosting-your-own-runners/about-self-hosted-runners.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ For more information about installing and using self-hosted runners, see "[Addin
5151
- Can use cloud services or local machines that you already pay for.
5252
- Are customizable to your hardware, operating system, software, and security requirements.
5353
- Don't need to have a clean instance for every job execution.
54-
- Are free to use with {% data variables.product.prodname_actions %}, but you are responsible for the cost of maintaining your runner machines.
54+
- Are free to use with {% data variables.product.prodname_actions %}, but you are responsible for the cost of maintaining your runner machines.{% ifversion ghec or ghes or ghae %}
55+
- Can be organized into groups to restrict access to specific {% if restrict-groups-to-workflows %}workflows, {% endif %}organizations and repositories. For more information, see "[Managing access to self-hosted runners using groups](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups)."{% endif %}
5556

5657
## Requirements for self-hosted runner machines
5758

@@ -186,7 +187,7 @@ github-registry-files.githubusercontent.com
186187

187188
In addition, your workflow may require access to other network resources. For example, if your workflow installs packages or publishes containers to {% data variables.product.prodname_dotcom %} Packages, then the runner will also require access to those network endpoints.
188189

189-
If you use an IP address allow list for your {% data variables.product.prodname_dotcom %} organization or enterprise account, you must add your self-hosted runner's IP address to the allow list. For more information, see "[Managing allowed IP addresses for your organization](/organizations/keeping-your-organization-secure/managing-allowed-ip-addresses-for-your-organization#using-github-actions-with-an-ip-allow-list)" or "[Enforcing policies for security settings in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise)".
190+
If you use an IP address allow list for your {% data variables.product.prodname_dotcom %} organization or enterprise account, you must add your self-hosted runner's IP address to the allow list. For more information, see "[Managing allowed IP addresses for your organization](/{% ifversion fpt %}enterprise-cloud@latest/{% endif %}/organizations/keeping-your-organization-secure/managing-allowed-ip-addresses-for-your-organization#using-github-actions-with-an-ip-allow-list)" or "[Enforcing policies for security settings in your enterprise](/{% ifversion fpt %}enterprise-cloud@latest/{% endif %}admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise){% ifversion fpt %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}."{% endif %}
190191

191192
{% else %}
192193

translations/pt-BR/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ Você pode gerenciar o serviço do executor no aplicativo **Serviços** do Windo
7878
```
7979
{% endmac %}
8080

81+
O comando usa um argumento `usuário` opcional para instalar o serviço como um usuário diferente.
82+
83+
```shell
84+
./svc.sh install --user <em>USERNAME</em>
85+
```
86+
8187
## Iniciar o serviço
8288

8389
Inicie o serviço com o seguinte comando:

translations/pt-BR/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ versions:
99
ghae: '*'
1010
ghec: '*'
1111
type: tutorial
12-
shortTitle: Gerenciar grupos de executores
12+
shortTitle: Manage access to runners
1313
---
1414

1515
{% data reusables.actions.enterprise-beta %}
1616
{% data reusables.actions.enterprise-github-hosted-runners %}
17+
{% data reusables.actions.restrict-runner-workflow-beta %}
1718

1819
## Sobre grupos de executores auto-hospedados
1920

@@ -31,9 +32,10 @@ Se você usar
3132
{% endif %}
3233

3334
{% ifversion ghec or ghes or ghae %}
34-
Grupos de executores auto-hospedados são usados para controlar o acesso a executores auto-hospedados a nível da organização e da empresa. Os administradores da empresa podem configurar políticas de acesso que controlam quais organizações em uma empresa têm acesso ao grupo de runner. Os administradores da organização podem configurar políticas de acesso que controlam quais repositórios em uma organização têm acesso ao grupo de runner.
35+
Grupos de executores auto-hospedados são usados para controlar o acesso a executores auto-hospedados a nível da organização e da empresa. Enterprise owners can configure access policies that control which organizations
36+
{% if restrict-groups-to-workflows %}and workflows {% endif %}in an enterprise have access to the runner group. Organization owners can configure access policies that control which repositories{% if restrict-groups-to-workflows %} and workflows{% endif %} in an organization have access to the runner group.
3537

36-
Quando um administrador da empresa concede acesso de uma organização a um grupo de runner, os administradores da organização podem ver o grupo de runner listado nas configurações do runner auto-hospedado da organização. Os administradores de organizações podem então atribuir políticas adicionais de acesso ao repositório granular para o grupo de executores empresariais.
38+
When an enterprise owner grants an organization access to a runner group, organization owners can see the runner group listed in the organization's self-hosted runner settings. The organization owners can then assign additional granular repository{% if restrict-groups-to-workflows %} and workflow{% endif %} access policies to the enterprise runner group.
3739

3840
Quando novos executores são criados, eles são atribuídos automaticamente ao grupo-padrão. Os executores só podem estar em um grupo por vez. Você pode mover os executores do grupo-padrão para outro grupo. Para obter mais informações, consulte "[Mover um executorauto-hospedado para um grupo](#moving-a-self-hosted-runner-to-a-group)".
3941

@@ -43,13 +45,14 @@ Todas as organizações têm um único grupo de executores auto-hospedados padr
4345

4446
Os executores auto-hospedados são automaticamente atribuídos ao grupo-padrão quando criados e só podem ser membros de um grupo por vez. Você pode mover um executor do grupo- padrão para qualquer grupo que você criar.
4547

46-
Ao criar um grupo, você deverá escolher uma política que defina quais repositórios têm acesso ao grupo do executor.
48+
When creating a group, you must choose a policy that defines which repositories{% if restrict-groups-to-workflows %} and workflows{% endif %} have access to the runner group.
4749

4850
{% ifversion ghec or ghes > 3.3 or ghae-issue-5091 %}
4951
{% data reusables.organizations.navigate-to-org %}
5052
{% data reusables.organizations.org_settings %}
5153
{% data reusables.actions.settings-sidebar-actions-runner-groups %}
5254
1. Na seção "Grupos de executores", clique em **Novo grupo de executor**.
55+
1. Enter a name for your runner group.
5356
{% data reusables.actions.runner-group-assign-policy-repo %}
5457

5558
{% warning %}
@@ -59,6 +62,7 @@ Ao criar um grupo, você deverá escolher uma política que defina quais reposit
5962
Para obter mais informações, consulte "[Sobre os executores auto-hospedados](/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories)."
6063

6164
{% endwarning %}
65+
{% data reusables.actions.runner-group-assign-policy-workflow %}{%- if restrict-groups-to-workflows %} Organization-owned runner groups cannot access workflows from a different organization in the enterprise; instead, you must create an enterprise-owned runner group.{% endif %}
6266
{% data reusables.actions.self-hosted-runner-create-group %}
6367
{% elsif ghae or ghes < 3.4 %}
6468
{% data reusables.organizations.navigate-to-org %}
@@ -89,7 +93,7 @@ Ao criar um grupo, você deverá escolher uma política que defina quais reposit
8993

9094
## Criar um grupo de executor auto-hospedado para uma empresa
9195

92-
As empresas podem adicionar seus executores auto-hospedados a grupos para gerenciamento de acesso. As empresas podem criar grupos de executores auto-hospedados acessíveis a organizações específicas na conta corporativa. Os administradores da organização podem atribuir políticas adicionais granulares de acesso ao repositório para os grupos de executores corporativos. Para obter informações sobre como criar um grupo de executores auto-hospedados com a API REST, consulte os pontos de extremidade corporativos na [API REST de {% data variables.product.prodname_actions %}](/rest/reference/actions#self-hosted-runner-groups).
96+
As empresas podem adicionar seus executores auto-hospedados a grupos para gerenciamento de acesso. Enterprises can create groups of self-hosted runners that are accessible to specific organizations in the enterprise account{% if restrict-groups-to-workflows %} or to specific workflows{% endif %}. Organization owners can then assign additional granular repository{% if restrict-groups-to-workflows %} or workflow{% endif %} access policies to the enterprise runner groups. Para obter informações sobre como criar um grupo de executores auto-hospedados com a API REST, consulte os pontos de extremidade corporativos na [API REST de {% data variables.product.prodname_actions %}](/rest/reference/actions#self-hosted-runner-groups).
9397

9498
Os executores auto-hospedados são automaticamente atribuídos ao grupo-padrão quando criados e só podem ser membros de um grupo por vez. Você pode atribuir o executor a um grupo específico durante o processo de registro, ou você pode mover o executor do grupo-padrão para um grupo personalizado.
9599

@@ -116,17 +120,21 @@ Ao criar um grupo, você deve escolher uma política que defina quais organizaç
116120

117121
![Adicionar opções de grupo de executores](/assets/images/help/settings/actions-enterprise-account-add-runner-group-options-ae.png)
118122
{%- endif %}
123+
{% data reusables.actions.runner-group-assign-policy-workflow %}
119124
1. Clique em **Salvar grupo** para criar o grupo e aplicar a política.
120125

121126
{% endif %}
122127

123128
## Alterar a política de acesso de um grupo de executores auto-hospedados
124129

125-
Você pode atualizar a política de acesso de um grupo de executores ou renomear um grupo de executores.
130+
For runner groups in an enterprise, you can change what organizations in the enterprise can access a runner group{% if restrict-groups-to-workflows %} or restrict what workflows a runner group can run{% endif %}. For runner groups in an organization, you can change what repositories in the organization can access a runner group{% if restrict-groups-to-workflows %} or restrict what workflows a runner group can run{% endif %}.
131+
132+
### Changing what organizations or repositories can access a runner group
133+
126134
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %}
127135
{% data reusables.actions.self-hosted-runner-groups-navigate-to-repo-org-enterprise %}
128136
{% data reusables.actions.settings-sidebar-actions-runner-groups-selection %}
129-
1. Modifique as opções de acesso ou altere o nome do grupo dp executor.
137+
1. For runner groups in an enterprise, under **Organization access**, modify what organizations can access the runner group. For runner groups in an organization, under **Repository access**, modify what repositories can access the runner group.
130138

131139
{%- ifversion fpt or ghec or ghes %}
132140
{% warning %}
@@ -143,6 +151,35 @@ Você pode atualizar a política de acesso de um grupo de executores ou renomear
143151
{% data reusables.actions.self-hosted-runner-configure-runner-group-access %}
144152
{% endif %}
145153

154+
{% if restrict-groups-to-workflows %}
155+
### Changing what workflows can access a runner group
156+
You can configure a self-hosted runner group to run either selected workflows or all workflows. For example, you might use this setting to protect secrets that are stored on self-hosted runners or to standardize deployment workflows by restricting a runner group to run only a specific reusable workflow. This setting cannot be overridden if you are configuring an organization's runner group that was shared by an enterprise.
157+
{% data reusables.actions.self-hosted-runner-groups-navigate-to-repo-org-enterprise %}
158+
{% data reusables.actions.settings-sidebar-actions-runner-groups-selection %}
159+
1. Under **Workflow access**, select the dropdown menu and click **Selected workflows**.
160+
1. Clique em {% octicon "gear" aria-label="the gear icon" %}.
161+
1. Enter a comma separated list of the workflows that can access the runner group. Use the full path, including the repository name and owner. Pin the workflow to a branch, tag, or full SHA. For example: `octo-org/octo-repo/.github/workflows/build.yml@v2, octo-org/octo-repo/.github/workflows/deploy.yml@d6dc6c96df4f32fa27b039f2084f576ed2c5c2a5, monalisa/octo-test/.github/workflows/test.yml@main`.
162+
163+
Only jobs directly defined within the selected workflows will have access to the runner group.
164+
165+
Organization-owned runner groups cannot access workflows from a different organization in the enterprise; instead, you must create an enterprise-owned runner group.
166+
167+
1. Clique em **Salvar**.
168+
169+
{% endif %}
170+
171+
## Changing the name of a runner group
172+
173+
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %}
174+
{% data reusables.actions.self-hosted-runner-groups-navigate-to-repo-org-enterprise %}
175+
{% data reusables.actions.settings-sidebar-actions-runner-groups-selection %}
176+
1. Change the runner group name.
177+
178+
{% elsif ghae or ghes < 3.4 %}
179+
{% data reusables.actions.self-hosted-runner-configure-runner-group %}
180+
1. Change the runner group name.
181+
{% endif %}
182+
146183
{% ifversion ghec or ghes or ghae %}
147184
## Adicionando um executor auto-hospedado a um grupo automaticamente
148185

0 commit comments

Comments
 (0)