New translation batch for pt (#28058)
* Add crowdin translations * Run script/i18n/homogenize-frontmatter.js * Run script/i18n/fix-translation-errors.js * Run script/i18n/lint-translation-files.js --check rendering * run script/i18n/reset-files-with-broken-liquid-tags.js --language=pt * run script/i18n/reset-known-broken-translation-files.js
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
---
|
||||
title: Conectando-se a uma rede privada
|
||||
intro: 'You can connect {% data variables.product.prodname_dotcom %}-hosted runners to resources on a private network, including package registries, secret managers, and other on-premises services.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
type: how_to
|
||||
topics:
|
||||
- Actions
|
||||
- Developer
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## About {% data variables.product.prodname_dotcom %}-hosted runners networking
|
||||
|
||||
By default, {% data variables.product.prodname_dotcom %}-hosted runners have access to the public internet. However, you may also want these runners to access resources on your private network, such as a package registry, a secret manager, or other on-premise services.
|
||||
|
||||
{% data variables.product.prodname_dotcom %}-hosted runners are shared across all {% data variables.product.prodname_dotcom %} customers, so you will need a way of connecting your private network to just your runners while they are running your workflows. There are a few different approaches you could take to configure this access, each with different advantages and disadvantages.
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
### Using an API Gateway with OIDC
|
||||
|
||||
With {% data variables.product.prodname_actions %}, you can use OpenID Connect (OIDC) tokens to authenticate your workflow outside of {% data variables.product.prodname_actions %}. For example, you could run an API Gateway on the edge of your private network that authenticates incoming requests with the OIDC token and then makes API requests on behalf of your workflow in your private network.
|
||||
|
||||
The following diagram gives an overview of this solution's architecture:
|
||||
|
||||

|
||||
|
||||
It's important that you authenticate not just that the OIDC token came from {% data variables.product.prodname_actions %}, but that it came specifically from your expected workflows, so that other {% data variables.product.prodname_actions %} users aren't able to access services in your private network. You can use OIDC claims to create these conditions. For more information, see "[Defining trust conditions on cloud roles using OIDC claims](/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#defining-trust-conditions-on-cloud-roles-using-oidc-claims)."
|
||||
|
||||
The main disadvantage of this approach is you have to implement the API gateway to make requests on your behalf, as well as run it on the edge of your network.
|
||||
|
||||
But there are various advantages too:
|
||||
- You don't need to configure any firewalls, or modify the routing of your private network.
|
||||
- The API gateway is stateless, and so it scales horizontally to handle high availability and high throughput.
|
||||
|
||||
For more information, see [a reference implementation of an API Gateway](https://github.com/github/actions-oidc-gateway-example) (note that this requires customization for your use case and is not ready-to-run as-is), and "[About security hardening with OpenID Connect](/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect)".
|
||||
{% endif %}
|
||||
|
||||
### Using WireGuard to create a network overlay
|
||||
|
||||
If you don't want to maintain separate infrastructure for an API Gateway, you can create an overlay network between your runner and a service in your private network, by running WireGuard in both places.
|
||||
|
||||
There are various disadvantages to this approach:
|
||||
|
||||
- To reach WireGuard running on your private service, you will need a well-known IP address and port that your workflow can reference: this can either be a public IP address and port, a port mapping on a network gateway, or a service that dynamically updates DNS.
|
||||
- WireGuard doesn't handle NAT traversal out of the box, so you'll need to identify a way to provide this service.
|
||||
- This connection is one-to-one, so if you need high availability or high throughput you'll need to build that on top of WireGuard.
|
||||
- You'll need to generate and securely store keys for both the runner and your private service. WireGuard uses UDP, so your network must support UDP traffic.
|
||||
|
||||
There are some advantages too, as you can run WireGuard on an existing server so you don't have to maintain separate infrastructure, and it's well supported on {% data variables.product.prodname_dotcom %}-hosted runners.
|
||||
|
||||
### Example: Configuring WireGuard
|
||||
|
||||
This example workflow configures WireGuard to connect to a private service.
|
||||
|
||||
For this example, the WireGuard instance running in the private network has this configuration:
|
||||
- Overlay network IP address of `192.168.1.1`
|
||||
- Public IP address and port of `1.2.3.4:56789`
|
||||
- Public key `examplepubkey1234...`
|
||||
|
||||
The WireGuard instance in the {% data variables.product.prodname_actions %} runner has this configuration:
|
||||
- Overlay network IP address of `192.168.1.2`
|
||||
- Private key stores as an {% data variables.product.prodname_actions %} secret under `WIREGUARD_PRIVATE_KEY`
|
||||
|
||||
```yaml
|
||||
name: WireGuard example
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
wireguard_example:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: sudo apt install wireguard
|
||||
|
||||
- run: echo "${{ secrets.WIREGUARD_PRIVATE_KEY }}" > privatekey
|
||||
|
||||
- run: sudo ip link add dev wg0 type wireguard
|
||||
|
||||
- run: sudo ip address add dev wg0 192.168.1.2 peer 192.168.1.1
|
||||
|
||||
- run: sudo wg set wg0 listen-port 48123 private-key privatekey peer examplepubkey1234... allowed-ips 0.0.0.0/0 endpoint 1.2.3.4:56789
|
||||
|
||||
- run: sudo ip link set up dev wg0
|
||||
|
||||
- run: curl -vvv http://192.168.1.1
|
||||
```
|
||||
|
||||
For more information, see [WireGuard's Quick Start](https://www.wireguard.com/quickstart/), as well as "[Encrypted Secrets](/actions/security-guides/encrypted-secrets)" for how to securely store keys.
|
||||
|
||||
### Using Tailscale to create a network overlay
|
||||
|
||||
Tailscale is a commercial product built on top of WireGuard. This option is very similar to WireGuard, except Tailscale is more of a complete product experience instead of an open source component.
|
||||
|
||||
It's disadvantages are similar to WireGuard: The connection is one-to-one, so you might need to do additional work for high availability or high throughput. You still need to generate and securely store keys. The protocol is still UDP, so your network must support UDP traffic.
|
||||
|
||||
However, there are some advantages over WireGuard: NAT traversal is built-in, so you don't need to expose a port to the public internet. It is by far the quickest of these options to get up and running, since Tailscale provides an {% data variables.product.prodname_actions %} workflow with a single step to connect to the overlay network.
|
||||
|
||||
For more information, see the [Tailscale GitHub Action](https://github.com/tailscale/github-action), as well as "[Encrypted Secrets](/actions/security-guides/encrypted-secrets)" for how to securely store keys.
|
||||
@@ -9,6 +9,7 @@ children:
|
||||
- /about-github-hosted-runners
|
||||
- /monitoring-your-current-jobs
|
||||
- /customizing-github-hosted-runners
|
||||
- /connecting-to-a-private-network
|
||||
shortTitle: Usar executores hospedados no GitHub
|
||||
---
|
||||
|
||||
|
||||
@@ -18,7 +18,9 @@ topics:
|
||||
shortTitle: Sincronização automática da licença do usuário
|
||||
---
|
||||
|
||||
## Sobre a sincronização de licenças
|
||||
## About automatic license synchronization
|
||||
|
||||
{% data reusables.enterprise-licensing.unique-user-licensing-model %}
|
||||
|
||||
{% data reusables.enterprise-licensing.about-license-sync %} Para obter mais informações, consulte "[Sobre {% data variables.product.prodname_github_connect %}de](/admin/configuration/configuring-github-connect/about-github-connect#data-transmission-for-github-connect)."
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ Você pode confirmar que os sites e endereços de e-mail listados nos perfis de
|
||||
|
||||
Depois de verificar a propriedade dos domínios da sua conta, será exibido um selo "Verificado" no perfil de cada organização com o domínio listado no seu perfil. {% data reusables.organizations.verified-domains-details %}
|
||||
|
||||
Os proprietários da organização conseguirão de verificar a identidade dos integrantes da organização, visualizando o endereço de e-mail de cada integrante dentro do domínio verificado.
|
||||
For domains configured at the enterprise level, enterprise owners can verify the identity of organization members by viewing each member's email address within the verified domain. Enterprise owners can also view a list of enterprise members who don't have an email address from a verified domain associated with their user account on {% data variables.product.prodname_dotcom %}. For more information, see "[Viewing members without an email address from a verified domain](/admin/user-management/managing-users-in-your-enterprise/viewing-people-in-your-enterprise#viewing-members-without-an-email-address-from-a-verified-domain)."
|
||||
|
||||
Após verificar domínios para a sua conta corporativa, você poderá restringir notificações de e-mail para domínios verificados para todas as organizações pertencentes à sua conta corporativa. Para obter mais informações, consulte "[Restringindo notificações de e-mail para a sua empresa](/admin/policies/enforcing-policies-for-your-enterprise/restricting-email-notifications-for-your-enterprise)".
|
||||
|
||||
|
||||
@@ -107,6 +107,17 @@ Se sua empresa usa {% data variables.product.prodname_emus %}, você também pod
|
||||
|
||||
Você pode ver uma lista de todos os usuários desativados {% ifversion ghes or ghae %} que não foram suspensos e {% endif %}que não são administradores do site. {% data reusables.enterprise-accounts.dormant-user-activity-threshold %} Para obter mais informações, consulte "[Gerenciar usuários inativos](/admin/user-management/managing-users-in-your-enterprise/managing-dormant-users)".
|
||||
|
||||
{% ifversion ghec or ghes > 3.1 %}
|
||||
## Viewing members without an email address from a verified domain
|
||||
|
||||
You can view a list of members in your enterprise who don't have an email address from a verified domain associated with their user account on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
|
||||
{% data reusables.enterprise-accounts.access-enterprise %}
|
||||
{% data reusables.enterprise-accounts.settings-tab %}
|
||||
{% data reusables.enterprise-accounts.verified-domains-tab %}
|
||||
1. Under "Notification preferences", click the {% octicon "eye" aria-label="The github eye icon" %} **View enterprise members without an approved or verified domain email** link.
|
||||
{% endif %}
|
||||
|
||||
## Leia mais
|
||||
|
||||
- "[Funções em uma empresa](/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise)"
|
||||
|
||||
@@ -43,11 +43,11 @@ topics:
|
||||
children:
|
||||
- /managing-your-github-billing-settings
|
||||
- /managing-billing-for-your-github-account
|
||||
- /managing-your-license-for-github-enterprise
|
||||
- /managing-licenses-for-visual-studio-subscriptions-with-github-enterprise
|
||||
- /managing-billing-for-github-actions
|
||||
- /managing-billing-for-github-codespaces
|
||||
- /managing-billing-for-github-packages
|
||||
- /managing-your-license-for-github-enterprise
|
||||
- /managing-licenses-for-visual-studio-subscriptions-with-github-enterprise
|
||||
- /managing-billing-for-github-advanced-security
|
||||
- /managing-billing-for-github-sponsors
|
||||
- /managing-billing-for-github-marketplace-apps
|
||||
|
||||
@@ -45,7 +45,7 @@ Você pode ver seu uso atual no seu [Portal da conta do Azure](https://portal.az
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
{% data variables.product.company_short %} faz a cobrança mensal para o número total de membros da sua conta corporativa, bem como quaisquer serviços adicionais que você usar com {% data variables.product.prodname_ghe_cloud %}.
|
||||
{% data variables.product.company_short %} bills monthly for the total number of licensed seats for your organization or enterprise account, as well as any additional services you use with {% data variables.product.prodname_ghe_cloud %}, such as {% data variables.product.prodname_actions %} minutes. For more information about the licensed seats portion of your bill, see "[About per-user pricing](/billing/managing-billing-for-your-github-account/about-per-user-pricing)."
|
||||
|
||||
{% elsif ghes %}
|
||||
|
||||
@@ -64,40 +64,14 @@ Cada usuário em {% data variables.product.product_location %} consome uma esta
|
||||
Os administradores da conta corporativa em {% data variables.product.prodname_dotcom_the_website %} podem acessar e gerenciar a cobrança da empresa. Para obter mais informações, consulte "[Funções em uma empresa]({% ifversion ghes %}/enterprise-cloud@latest{% endif %}/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise){% ifversion ghec %}".{% elsif ghes %}" na documentação de {% data variables.product.prodname_ghe_cloud %} .{% endif %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
{% data reusables.enterprise-accounts.billing-microsoft-ea-overview %} Para obter mais informações, consulte "[Conectando uma assinatura do Azure à sua empresa](/billing/managing-billing-for-your-github-account/connecting-an-azure-subscription-to-your-enterprise)".
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion ghes %}
|
||||
|
||||
{% data reusables.billing.ghes-with-no-enterprise-account %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
## Preços por usuário
|
||||
|
||||
{% data variables.product.company_short %} cobra serviços consumidos em {% data variables.product.prodname_dotcom_the_website %}, cada usuário para implantações de {% data variables.product.prodname_ghe_server %} e cada integrante de organizações em {% data variables.product.prodname_ghe_cloud %}. Para obter mais informações sobre os preços por usuário, consulte "[Sobre o preço por usuário](/billing/managing-billing-for-your-github-account/about-per-user-pricing)".
|
||||
|
||||
{% data reusables.billing.per-user-pricing-reference %}
|
||||
|
||||
Para obter mais informações sobre funções, consulte "[Funções em uma empresa](/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise)" ou "[Funções em uma organização](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization)".
|
||||
|
||||
Para obter mais informações sobre colaboradores externos, consulte "[Adicionando colaboradores externos aos repositórios da organização](/organizations/managing-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)".
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Sobre a sincronização do uso da licença
|
||||
|
||||
{% data reusables.enterprise.about-deployment-methods %}
|
||||
|
||||
{% data reusables.enterprise-licensing.about-license-sync %} Para mais informações, consulte {% ifversion ghec %}"[Sincronizando o uso da licença entre {% data variables.product.prodname_ghe_server %} e {% data variables.product.prodname_ghe_cloud %}](/enterprise-server/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud)" na documentação de {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}"[Sincronizando o uso da licença entre {% data variables.product.prodname_ghe_server %} e {% data variables.product.prodname_ghe_cloud %}](/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud)."{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Leia mais
|
||||
|
||||
- "[Sobre as contas corporativas](/admin/overview/about-enterprise-accounts)"{% ifversion ghec or ghes %}
|
||||
- "[Sobre licenças para o GitHub Enterprise](/billing/managing-your-license-for-github-enterprise/about-licenses-for-github-enterprise)"{% endif %}
|
||||
- "[Sobre contas corporativas](/admin/overview/about-enterprise-accounts)"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Sobre preços por usuário
|
||||
intro: 'Com os preços por usuário, as organizações {% ifversion ghec %}e as empresas {% endif %}pagam com base no tamanho da equipe para acessar as ferramentas avançadas de colaboração e gerenciamento para as equipes e, opcionalmente, os controles de segurança, conformidade e implantação.'
|
||||
intro: '{% ifversion fpt or ghec %}For organizations{% ifversion ghec %} and enterprises{% endif %}, your {% else %}Your {% endif %}bill begins with the number of licensed seats you choose.'
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-billing-and-payments-on-github/about-per-user-pricing
|
||||
- /articles/about-per-user-pricing
|
||||
@@ -8,6 +8,7 @@ redirect_from:
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '*'
|
||||
type: overview
|
||||
topics:
|
||||
- Downgrades
|
||||
@@ -18,27 +19,66 @@ topics:
|
||||
|
||||
## Sobre preços por usuário
|
||||
|
||||
{% ifversion fpt %}
|
||||
As novas organizações em {% data variables.product.prodname_dotcom_the_website %} podem construir projetos públicos e de código aberto com {% data variables.product.prodname_free_team %} ou fazer a atualização para um produto pago com preços por usuário. Para obter mais informações, consulte "[Produtos de {% data variables.product.company_short %}de](/get-started/learning-about-github/githubs-products)" e "[Atualizando sua assinatura de {% data variables.product.prodname_dotcom %}](/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription)".
|
||||
|
||||
{% ifversion ghec %}Os preços por usuário aplicam-se a todas as organizações que pertencem à sua empresa em {% data variables.product.prodname_dotcom_the_website %} e para organizações que usam {% data variables.product.prodname_ghe_cloud %} que não fazem parte de uma empresa. Cada{% elsif fpt %}preços por usuário significa que cada{% endif %} ciclo de cobrança, {% data variables.product.company_short %} cobra cada integrante ou colaborador externo na sua organização{% ifversion ghec %} ou empresa{% endif %}. Você também paga por cada integrante pendente ou colaborador externo que ainda não aceitou um convite. {% data variables.product.company_short %} não realiza a cobrança para integrantes com a função de gerente de cobrança{% ifversion ghec %} ou para os proprietários de empresas que também não são integrantes de pelo menos uma organização na empresa{% endif %}. Para obter mais informações, consulte {% ifversion ghec %}"[Funções em uma empresa](/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise)" ou {% endif %}{% ifversion fpt or ghec %}"[Funções em uma organização](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization)".{% endif %}
|
||||
|
||||
{% data variables.product.company_short %} conta cada {% ifversion ghec %}integrante ou {% endif %}colaborador externo uma vez para fins de cobrança, mesmo que a pessoa tenha {% ifversion ghec %}associaão a várias organizações em uma empresa ou {% endif %}acesso a vários repositórios pertencentes à sua organização.
|
||||
|
||||
Para obter mais informações sobre colaboradores externos, consulte "[Adicionando colaboradores externos aos repositórios da organização](/organizations/managing-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)".
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
Se você implantar {% data variables.product.prodname_ghe_server %}, o seu uso incluirá licenças para cada usuário na sua instância. Para obter mais informações sobre serviços adicionais e cobrança para {% data variables.product.prodname_ghe_cloud %}, consulte "[Sobre cobrança para sua empresa](/billing/managing-billing-for-your-github-account/about-billing-for-your-enterprise)".
|
||||
|
||||
{% elsif fpt %}
|
||||
|
||||
As organizações que usam uma assinatura paga realizada antes de 11 de maio de 2016 podem optar por permanecer no plano existente por repositório ou alternar para preços por usuário. {% data variables.product.company_short %} irá notificar você 12 meses antes de qualquer alteração obrigatória na sua assinatura. Para obter mais informações sobre como alternar sua assinatura, consulte "[Atualizar a assinatura do {% data variables.product.prodname_dotcom %}](/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription)".
|
||||
|
||||
{% else %}
|
||||
|
||||
The foundation of your bill is the number of standard licensed seats that you choose for your{% ifversion ghec %} organization or{% endif %} enterprise.
|
||||
|
||||
{% data reusables.enterprise-licensing.unique-user-licensing-model %}
|
||||
|
||||
To ensure the same user isn't consuming more than one license for multiple enterprise deployments, you can synchronize license usage between your {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_ghe_cloud %} environments. For more information, see "[About licenses for GitHub Enterprise](/billing/managing-your-license-for-github-enterprise/about-licenses-for-github-enterprise)."
|
||||
|
||||
In addition to licensed seats, your bill may include other charges, such as {% data variables.product.prodname_GH_advanced_security %}. For more information, see "[About billing for your enterprise](/billing/managing-billing-for-your-github-account/about-billing-for-your-enterprise)."
|
||||
{% endif %}
|
||||
|
||||
## Visão geral dos preços por usuário
|
||||
## People that consume a license
|
||||
|
||||
{% data reusables.billing.per-user-pricing-reference %}
|
||||
Each person consumes one license, and {% data variables.product.company_short %} identifies individuals by primary email address.
|
||||
|
||||
{% data variables.product.company_short %} bills for the following people.
|
||||
|
||||
{%- ifversion ghec %}
|
||||
- Enterprise owners who are a member or owner of at least one organization in the enterprise
|
||||
{%- endif %}
|
||||
- Organization members, including owners
|
||||
- Outside collaborators on private{% ifversion ghec %} or internal{% endif %} repositories owned by your organization, excluding forks
|
||||
- Anyone with a pending invitation to become an organization owner or member
|
||||
- Anyone with a pending invitation to become an outside collaborator on private{% ifversion ghec %} or internal{% endif %} repositories owned by your organization, excluding forks
|
||||
{%- ifversion ghec %}
|
||||
- Each user on any {% data variables.product.prodname_ghe_server %} instance that you deploy
|
||||
{%- endif %}
|
||||
- Usuários inativos
|
||||
|
||||
{% data variables.product.company_short %} does not bill for any of the following people.
|
||||
|
||||
{%- ifversion ghec %}
|
||||
- Enterprise owners who are not a member or owner of at least one organization in the enterprise
|
||||
- Enterprise billing managers
|
||||
{%- endif %}
|
||||
- Organization billing managers{% ifversion ghec %} for individual organizations on {% data variables.product.prodname_ghe_cloud %}{% endif %}
|
||||
- Anyone with a pending invitation to become an{% ifversion ghec %} enterprise or{% endif %} organization billing manager
|
||||
- Anyone with a pending invitation to become an outside collaborator on a public repository owned by your organization
|
||||
{%- ifversion ghes %}
|
||||
- Usuários suspensos
|
||||
{%- endif %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Observação**: {% data reusables.organizations.org-invite-scim %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
For more information, see {% ifversion not fpt %}"[Roles in an enterprise](/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise)" or {% endif %}"[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization)."
|
||||
|
||||
{% data variables.product.company_short %} counts each {% ifversion not fpt %}member or {% endif %}outside collaborator once for billing purposes, even if the user account has {% ifversion not fpt %}membership in multiple organizations in an enterprise or {% endif %}access to multiple repositories owned by your organization. Para obter mais informações sobre colaboradores externos, consulte "[Adicionando colaboradores externos aos repositórios da organização](/organizations/managing-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization)".
|
||||
|
||||
{% ifversion ghes %}Suspended users are not counted when calculating the number of licensed users consuming seats. For more information, see "[Suspending and unsuspending users](/admin/user-management/managing-users-in-your-enterprise/suspending-and-unsuspending-users)."{% endif %}
|
||||
|
||||
Dormant users do occupy a seat license.{% ifversion ghes %} As such, you can choose to suspend dormant users to release user licenses.{% endif %} For more information, see "[Managing dormant users](/admin/user-management/managing-users-in-your-enterprise/managing-dormant-users)."
|
||||
|
||||
## Sobre as alterações na sua assinatura
|
||||
|
||||
@@ -50,7 +90,7 @@ Você pode alterar a sua assinatura de {% data variables.product.prodname_dotcom
|
||||
|
||||
{% endif %}
|
||||
|
||||
Você pode adicionar mais usuários à sua organização{% ifversion ghec %} ou empresa a qualquer momento{% endif %}. Se você pagar por mais usuários do que o número de usuários ativos atualmente, você também poderá reduzir o número de usuários pagos.{% ifversion fpt %} Para obter mais informações, consulte "[Atualizando sua assinatura de {% data variables.product.prodname_dotcom %}](/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription)" e "[Fazendo o downgrade da sua assinatura de {% data variables.product.prodname_dotcom %}](/billing/managing-billing-for-your-github-account/downgrading-your-github-subscription)."
|
||||
You can add more licensed seats to your {% ifversion fpt or ghec %} organization{% endif %}{% ifversion ghec %} or{% endif %}{% ifversion ghec or ghes %} enterprise{% endif %} at any time. If you pay for more seats than are being used, you can also reduce the number of seats.{% ifversion fpt %} For more information, see "[Upgrading your {% data variables.product.prodname_dotcom %} subscription](/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription)" and "[Downgrading your {% data variables.product.prodname_dotcom %} subscription](/billing/managing-billing-for-your-github-account/downgrading-your-github-subscription)."
|
||||
|
||||
Se você tiver dúvidas sobre a sua assinatura, entre em contato com {% data variables.contact.contact_support %}.
|
||||
|
||||
@@ -58,10 +98,13 @@ Para apoiar ainda mais as habilidades de colaboração da sua equipe, você pode
|
||||
|
||||
Para obter mais informações sobre preços por usuário para {% data variables.product.prodname_ghe_cloud %}, consulte [a documentação de {% data variables.product.prodname_ghe_cloud %}](/enterprise-cloud@latest/billing/managing-billing-for-your-github-account/about-per-user-pricing).
|
||||
|
||||
{% elsif ghec %}
|
||||
{% else %}
|
||||
|
||||
Se você usar uma conta corporativa em {% data variables.product.prodname_dotcom_the_website %} e tiver dúvidas sobre as alterações na sua assinatura, entre em contato com {% data variables.contact.contact_enterprise_sales %}.
|
||||
|
||||
{% endif %}
|
||||
{% ifversion ghec %}
|
||||
|
||||
Se você usar uma organização individual em {% data variables.product.prodname_ghe_cloud %}, você poderá atualizar ou fazer o downgrade da sua assinatura. Para obter mais informações, consulte "[Atualizar a assinatura do {% data variables.product.prodname_dotcom %}](/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription)" ou "[Fazer downgrade da assinatura do {% data variables.product.prodname_dotcom %}](/billing/managing-billing-for-your-github-account/downgrading-your-github-subscription)". Se você tiver dúvidas sobre a sua assinatura, entre em contato com {% data variables.contact.contact_support %}.
|
||||
|
||||
{% endif %}
|
||||
@@ -78,7 +121,7 @@ Quando você faz downgrade para um plano pago herdado com menos repositórios pr
|
||||
|
||||
## Leia mais
|
||||
|
||||
{%- ifversion ghec %}
|
||||
{%- ifversion not fpt %}
|
||||
- "[Sobre contas corporativas](/admin/overview/about-enterprise-accounts)"
|
||||
{%- endif %}
|
||||
- "[Sobre repositórios](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility)"
|
||||
|
||||
@@ -20,8 +20,8 @@ versions:
|
||||
ghae: '*'
|
||||
children:
|
||||
- /about-billing-for-github-accounts
|
||||
- /about-per-user-pricing
|
||||
- /about-billing-for-your-enterprise
|
||||
- /about-per-user-pricing
|
||||
- /viewing-the-subscription-and-usage-for-your-enterprise-account
|
||||
- /upgrading-your-github-subscription
|
||||
- /viewing-and-managing-pending-changes-to-your-subscription
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Sobre licenças para o GitHub Enterprise
|
||||
intro: '{% ifversion ghec %}Se você implantar {% data variables.product.prodname_ghe_server %} além de usar {% data variables.product.prodname_ghe_cloud %}, cada{% elsif ghes %}Cada{% endif %} instância de {% data variables.product.prodname_ghe_server %} exigirá um arquivo de licença para validar e desbloquear o aplicativo.'
|
||||
intro: '{% ifversion ghec %}If you deploy {% data variables.product.prodname_ghe_server %} in addition to using {% data variables.product.prodname_ghe_cloud %}, you{% else %}You{% endif %} can synchronize your license usage between{% ifversion ghes %} {% data variables.product.prodname_enterprise %}{% endif %} deployments, and use a license file to unlock each {% data variables.product.prodname_ghe_server %} instance.'
|
||||
versions:
|
||||
ghec: '*'
|
||||
ghes: '*'
|
||||
@@ -11,32 +11,32 @@ topics:
|
||||
shortTitle: Sobre licenças
|
||||
---
|
||||
|
||||
## Sobre os arquivos de licença para {% data variables.product.prodname_enterprise %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
## Sobre o licenciamento para {% data variables.product.prodname_enterprise %}
|
||||
|
||||
{% data reusables.enterprise.about-deployment-methods %}
|
||||
|
||||
{% endif %}
|
||||
{% data reusables.enterprise-licensing.unique-user-licensing-model %}
|
||||
|
||||
To ensure the same user isn't consuming more than one license for multiple enterprise deployments, you can synchronize license usage between your {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_ghe_cloud %} deployments.
|
||||
|
||||
In order to use a {% data variables.product.prodname_ghe_server %} instance, you must upload a license file that {% data variables.product.company_short %} provides when you purchase, renew, or add user licenses to {% data variables.product.prodname_enterprise %}.
|
||||
|
||||
## Sobre a sincronização do uso da licença para {% data variables.product.prodname_enterprise %}
|
||||
|
||||
{% data reusables.enterprise-licensing.about-license-sync %} For more information, see "[Syncing license usage between {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_ghe_cloud %}](/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud)."
|
||||
|
||||
## Sobre os arquivos de licença para {% data variables.product.prodname_enterprise %}
|
||||
|
||||
Ao comprar ou renovar {% data variables.product.prodname_enterprise %}, {% data variables.product.company_short %} fornece o arquivo de uma licença {% ifversion ghec %}para suas implantações de {% data variables.product.prodname_ghe_server %}{% elsif ghes %}para {% data variables.product.product_location_enterprise %}{% endif %}. O arquivo de uma licença tem uma data de validade e controla o número de pessoas que podem usar {% data variables.product.product_location_enterprise %}. Após fazer o download e instalar o {% data variables.product.prodname_ghe_server %}, você deverá fazer o upload do arquivo de licença para desbloquear o aplicativo para você usar.
|
||||
|
||||
Para obter mais informações sobre a transferência de arquivo da sua licença, consulte "[Fazer o download da sua licença para {% data variables.product.prodname_enterprise %}](/billing/managing-your-license-for-github-enterprise/downloading-your-license-for-github-enterprise)". Para obter mais informações sobre como fazer o upload do seu arquivo de licença, consulte {% ifversion ghec %}"[Fazer o upload de uma nova licença para {% data variables.product.prodname_ghe_server %}](/enterprise-server/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server)" na documentação de {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}"[Fazer o upload de uma nova licença para {% data variables.product.prodname_ghe_server %}](/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server)."{% endif %}
|
||||
Para obter mais informações sobre a transferência de arquivo da sua licença, consulte "[Fazer o download da sua licença para {% data variables.product.prodname_enterprise %}](/billing/managing-your-license-for-github-enterprise/downloading-your-license-for-github-enterprise)".
|
||||
|
||||
Para obter mais informações sobre como fazer o upload do seu arquivo de licença, consulte {% ifversion ghec %}"[Fazer o upload de uma nova licença para {% data variables.product.prodname_ghe_server %}](/enterprise-server/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server)" na documentação de {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}"[Fazer o upload de uma nova licença para {% data variables.product.prodname_ghe_server %}](/billing/managing-your-license-for-github-enterprise/uploading-a-new-license-to-github-enterprise-server)."{% endif %}
|
||||
|
||||
Se sua licença vencer, você não poderá acessar {% data variables.product.prodname_ghe_server %} por meio de um navegador ou Git. Se necessário, você poderá usar os utilitários de linha de comando para fazer backup de todos os seus dados. Para obter mais informações, consulte {% ifversion ghec %}"[Configurando backups no seu dispositivo]({% ifversion ghec %}/enterprise-server@latest{% endif %}/admin/guides/installation/configuring-backups-on-your-appliance)" na documentação do {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}"[Configurando backups no seu dispositivo](/admin/guides/installation/configuring-backups-on-your-appliance)". {% endif %}
|
||||
|
||||
Se você tiver alguma dúvida sobre a renovação da sua licença, contate {% data variables.contact.contact_enterprise_sales %}.
|
||||
|
||||
## Sobre a sincronização do uso da licença para {% data variables.product.prodname_enterprise %}
|
||||
|
||||
{% ifversion ghes %}
|
||||
|
||||
{% data reusables.enterprise.about-deployment-methods %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% data reusables.enterprise-licensing.about-license-sync %} Para mais informações, consulte {% ifversion ghec %}"[Sincronizando o uso da licença entre {% data variables.product.prodname_ghe_server %} e {% data variables.product.prodname_ghe_cloud %}](/enterprise-server/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud)" na documentação de {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}"[Sincronizando o uso da licença entre {% data variables.product.prodname_ghe_server %} e {% data variables.product.prodname_ghe_cloud %}](/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud)."{% endif %}
|
||||
|
||||
## Leia mais
|
||||
|
||||
- "[Sobre a cobrança para a sua empresa](/billing/managing-billing-for-your-github-account/about-billing-for-your-enterprise)"
|
||||
|
||||
@@ -23,5 +23,6 @@ children:
|
||||
- /uploading-a-new-license-to-github-enterprise-server
|
||||
- /viewing-license-usage-for-github-enterprise
|
||||
- /syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud
|
||||
- /troubleshooting-license-usage-for-github-enterprise
|
||||
---
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@ shortTitle: Sincronizar uso da licença
|
||||
|
||||
## Sobre a sincronização do uso da licença
|
||||
|
||||
{% data reusables.enterprise-licensing.unique-user-licensing-model %}
|
||||
|
||||
{% data reusables.enterprise-licensing.about-license-sync %}
|
||||
|
||||
Para garantir que você irá ver os detalhes de licença atualizados sobre {% data variables.product.prodname_dotcom_the_website %}, você pode sincronizar o uso da licença entre os ambientes automaticamente, usando {% data variables.product.prodname_github_connect %}. Para obter mais informações sobre {% data variables.product.prodname_github_connect %}, consulte "[Sobre {% data variables.product.prodname_github_connect %}]({% ifversion ghec %}/enterprise-server@latest{% endif %}/admin/configuration/configuring-github-connect/about-github-connect){% ifversion ghec %}" na documentação de {% data variables.product.prodname_ghe_server %}.{% elsif ghes %}."{% endif %}
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
title: Troubleshooting license usage for GitHub Enterprise
|
||||
intro: You can troubleshoot license usage for your enterprise by auditing license reports.
|
||||
permissions: 'Enterprise owners can review license usage for {% data variables.product.prodname_enterprise %}.'
|
||||
versions:
|
||||
ghec: '*'
|
||||
ghes: '*'
|
||||
type: how_to
|
||||
topics:
|
||||
- Enterprise
|
||||
- Licensing
|
||||
shortTitle: Troubleshoot license usage
|
||||
---
|
||||
|
||||
## About unexpected license usage
|
||||
|
||||
If the number of consumed licenses for your enterprise is unexpected, you can review your consumed license report to audit your license usage across all your enterprise deployments and subscriptions. If you find errors, you can try troubleshooting steps. For more information about viewing your license usage, see "[Viewing license usage for GitHub Enterprise](/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise)" and "[Viewing the subscription and usage for your enterprise account](/billing/managing-billing-for-your-github-account/viewing-the-subscription-and-usage-for-your-enterprise-account)."
|
||||
|
||||
For privacy reasons, enterprise owners cannot directly access the details of user accounts.
|
||||
|
||||
## About the calculation of consumed licenses
|
||||
|
||||
{% data variables.product.company_short %} bills for each person who uses deployments of {% data variables.product.prodname_ghe_server %}, is a member of an organization on {% data variables.product.prodname_ghe_cloud %}, or is a {% data variables.product.prodname_vs_subscriber %}. For more information about the people in your enterprise who are counted as consuming a license, see "[About per-user pricing](/billing/managing-billing-for-your-github-account/about-per-user-pricing)."
|
||||
|
||||
{% data reusables.enterprise-licensing.about-license-sync %}
|
||||
|
||||
## Fields in the consumed license files
|
||||
|
||||
The {% data variables.product.prodname_dotcom_the_website %} license usage report and {% data variables.product.prodname_ghe_server %} exported license usage file include a variety of fields to help you troubleshoot license usage for your enterprise.
|
||||
### {% data variables.product.prodname_dotcom_the_website %} license usage report (CSV file)
|
||||
|
||||
The license usage report for your enterprise is a CSV file that contains the following information about members of your enterprise. Some fields are specific to your {% data variables.product.prodname_ghe_cloud %} (GHEC) deployment, {% data variables.product.prodname_ghe_server %} (GHES) connected environments, or your {% data variables.product.prodname_vs %} subscriptions (VSS) with GitHub Enterprise.
|
||||
|
||||
| Campo | Descrição |
|
||||
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Nome | First and last name for the user's account on GHEC. |
|
||||
| Handle or email | GHEC username, or the email address associated with the user's account on GHES. |
|
||||
| Profile link | Link to the {% data variables.product.prodname_dotcom_the_website %} profile page for the user's account on GHEC. |
|
||||
| License type | Can be one of: `Visual Studio subscription` or `Enterprise`. |
|
||||
| License status | Identifies if a user account on {% data variables.product.prodname_dotcom_the_website %} successfully matched either a {% data variables.product.prodname_vs_subscriber %} or GHES user.<br><br>Can be one of: `Matched`, `Pending Invitation`, `Server Only`, blank. |
|
||||
| Member roles | For each of the organizations the user belongs to on GHEC, the organization name and the person's role in that organization (`Owner` or `Member`) separated by a colon<br><br>Each organization is delimited by a comma. |
|
||||
| Função corporativa | Can be one of: `Owner` or `Member`. |
|
||||
|
||||
{% data variables.product.prodname_vs_subscriber %}s who are not yet members of at least one organization in your enterprise will be included in the report with a pending invitation status, and will be missing values for the "Name" or "Profile link" field.
|
||||
|
||||
### {% data variables.product.prodname_ghe_server %} exported license usage (JSON file)
|
||||
|
||||
Your {% data variables.product.prodname_ghe_server %} license usage is a JSON file that is typically used when performing a manual sync of user licenses between {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_ghe_cloud %} deployments. The file contains the following information specific to your {% data variables.product.prodname_ghe_server %} environment.
|
||||
|
||||
| Campo | Descrição |
|
||||
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Funcionalidades | The {% data variables.product.prodname_github_connect %} features that are enabled on your {% data variables.product.prodname_ghe_server %} instance, and the date and time of enablement. |
|
||||
| Host name | O nome do host da sua instância de {% data variables.product.prodname_ghe_server %}. |
|
||||
| HTTP only | Whether Transport Layer Security (TLS) is enabled and configured on your {% data variables.product.prodname_ghe_server %} instance. Can be one of: `True` or `False`. |
|
||||
| Licença | A hash of your {% data variables.product.prodname_ghe_server %} license. |
|
||||
| Public key | The public key portion of your {% data variables.product.prodname_ghe_server %} license. |
|
||||
| Server ID | UUID generated for your {% data variables.product.prodname_ghe_server %} instance. |
|
||||
| Versão | The version of your {% data variables.product.prodname_ghe_server %} instance. |
|
||||
|
||||
## Troubleshooting consumed licenses
|
||||
|
||||
If the number of consumed seats is unexpected, or if you've recently removed members from your enterprise, we recommend that you audit your license usage.
|
||||
|
||||
To determine which users are currently consuming seat licenses, first try reviewing the consumed licenses report for your enterprise{% ifversion ghes %} and/or an export of your {% data variables.product.prodname_ghe_server %} license usage{% endif %} for unexpected entries.
|
||||
|
||||
There are two especially common reasons for inaccurate or incorrect license seat counts.
|
||||
- The email addresses associated with a user do not match across your enterprise deployments and subscriptions.
|
||||
- An email address for a user was recently updated or verified to correct a mismatch, but a license sync job hasn't run since the update was made.
|
||||
|
||||
When attempting to match users across enterprises, {% data variables.product.company_short %} identifies individuals by the verified email addresses associated with their {% data variables.product.prodname_dotcom_the_website %} account, and the primary email address associated with their {% data variables.product.prodname_ghe_server %} account and/or the email address assigned to the {% data variables.product.prodname_vs_subscriber %}.
|
||||
|
||||
Your license usage is recalculated shortly after each license sync is performed. You can view the timestamp of the last license sync job, and, if a job hasn't run since an email address was updated or verified, to resolve an issue with your consumed license report you can manually trigger one. For more information, see "[Syncing license usage between GitHub Enterprise Server and GitHub Enterprise Cloud](/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud)."
|
||||
|
||||
{% ifversion ghec or ghes > 3.1 %}
|
||||
If your enterprise uses verified domains, review the list of enterprise members who do not have an email address from a verified domain associated with their {% data variables.product.prodname_dotcom_the_website %} account. Often, these are the users who erroneously consume more than one licensed seat. For more information, see "[Viewing members without an email address from a verified domain](/admin/user-management/managing-users-in-your-enterprise/viewing-people-in-your-enterprise#viewing-members-without-an-email-address-from-a-verified-domain)."
|
||||
{% endif %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** For privacy reasons, your consumed license report only includes the email address associated with a user account on {% data variables.product.prodname_dotcom_the_website %} if the address is hosted by a verified domain. For this reason, we recommend using verified domains with your enterprise account on {% data variables.product.prodname_dotcom_the_website %}. Then, if one person is erroneously consuming multiple licenses, you can more easily troubleshoot, as you will have access to the email address that is being used for license deduplication.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
If your license includes {% data variables.product.prodname_vss_ghe %} and your enterprise also includes at least one {% data variables.product.prodname_ghe_server %} connected environment, we strongly recommend using {% data variables.product.prodname_github_connect %} to automatically synchronize your license usage. For more information, see "[About Visual Studio subscriptions with GitHub Enterprise](/enterprise-cloud@latest/billing/managing-licenses-for-visual-studio-subscriptions-with-github-enterprise/about-visual-studio-subscriptions-with-github-enterprise)."
|
||||
|
||||
{% endif %}
|
||||
|
||||
If you still have questions about your consumed licenses after reviewing the troubleshooting information above, you can contact {% data variables.contact.github_support %} through the {% data variables.contact.contact_enterprise_portal %}.
|
||||
@@ -24,15 +24,15 @@ Você pode visualizar o uso da licença para a sua conta corporativa em {% data
|
||||
|
||||
Você pode visualizar o uso da licença para {% data variables.product.prodname_ghe_server %} em {% data variables.product.product_location %}.
|
||||
|
||||
{% data reusables.enterprise-licensing.you-can-sync-for-a-combined-view %} Para mais informações sobre a exibição do uso da licença em {% data variables.product.prodname_dotcom_the_website %}, consulte "[Visualizando o uso da licença para {% data variables.product.prodname_enterprise %}](/enterprise-cloud@latest/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise)" na documentação de {% data variables.product.prodname_ghe_cloud %}.
|
||||
{% data reusables.enterprise-licensing.you-can-sync-for-a-combined-view %} For more information about the display of license usage on {% data variables.product.prodname_dotcom_the_website %} and identifying when the last license sync occurred, see "[Viewing license usage for {% data variables.product.prodname_enterprise %}](/enterprise-cloud@latest/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise)" in the {% data variables.product.prodname_ghe_cloud %} documentation.
|
||||
|
||||
To learn more about the license data associated with your enterprise account and how the number of consumed user seats are calculated, see "[Troubleshooting license usage for GitHub Enterprise](/billing/managing-your-license-for-github-enterprise/troubleshooting-license-usage-for-github-enterprise)."
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Visualizando uso da licença em {% ifversion ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.product_location %}{% endif %}
|
||||
|
||||
Você pode visualizar o uso da licença para a sua empresa e fazer o download de um arquivo com detalhes da licença.
|
||||
|
||||
{% data reusables.billing.license-statuses %}
|
||||
Você pode visualizar o uso da licença para a sua empresa e fazer o download de um arquivo com detalhes da licença. If you're not seeing expected license counts in this report, it's possible that the subscriber’s assigned {% data variables.product.prodname_vs %} subscription email address and {% data variables.product.prodname_dotcom_the_website %} email address aren't exactly the same. For further information, see "[Troubleshooting license usage for GitHub Enterprise](/billing/managing-your-license-for-github-enterprise/troubleshooting-license-usage-for-github-enterprise)."
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
@@ -40,7 +40,8 @@ Você pode visualizar o uso da licença para a sua empresa e fazer o download de
|
||||
{% data reusables.enterprise-accounts.settings-tab %}
|
||||
1. Na barra lateral esquerda, clique em **Enterprise licensing** (Licenciamento Empresarial). 
|
||||
1. Revise sua licença atual de {% data variables.product.prodname_enterprise %}, bem como licenças de usuário consumidas e disponíveis.
|
||||
- Se sua licença incluir {% data variables.product.prodname_GH_advanced_security %}, você poderá revisar o uso total de estações. Para obter mais informações, consulte "[Visualizar o uso do seu {% data variables.product.prodname_GH_advanced_security %}](/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage)".
|
||||
- To download the consumed license report as a CSV file, in the top right, click {% octicon "download" aria-label="The download icon" %}. For more information about reviewing the data in this report, see "[Troubleshooting license usage for GitHub Enterprise](/billing/managing-your-license-for-github-enterprise/troubleshooting-license-usage-for-github-enterprise)."
|
||||
- Se sua licença incluir {% data variables.product.prodname_GH_advanced_security %}, você poderá revisar o uso total de estações. For more information, see "[Viewing your {% data variables.product.prodname_GH_advanced_security %} usage](/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage)."
|
||||
|
||||
{% elsif ghes %}
|
||||
|
||||
@@ -48,6 +49,19 @@ Você pode visualizar o uso da licença para a sua empresa e fazer o download de
|
||||
{% data reusables.enterprise-accounts.settings-tab %}
|
||||
{% data reusables.enterprise-accounts.license-tab %}
|
||||
1. Revise a sua licença atual de {% data variables.product.prodname_enterprise %}, bem como as licenças de usuário usadas e disponíveis.{% ifversion ghes %}
|
||||
- To download the consumed license report as a JSON file, in the top right under "Quick links", choose **Export license usage**. For more information about reviewing the data in this report, see "[Troubleshooting license usage for GitHub Enterprise](/billing/managing-your-license-for-github-enterprise/troubleshooting-license-usage-for-github-enterprise)."
|
||||
- Se sua licença incluir {% data variables.product.prodname_GH_advanced_security %}, você poderá revisar o uso total de estações, bem como o detalhamento por organização dos committers. Para obter mais informações, consulte "[Gerenciar {% data variables.product.prodname_GH_advanced_security %} para a sua empresa](/admin/advanced-security)".{% endif %}
|
||||
|
||||
{% endif %}
|
||||
{% ifversion ghec %}
|
||||
## Viewing the last license sync date
|
||||
|
||||
{% data reusables.enterprise-accounts.access-enterprise-on-dotcom %}
|
||||
{% data reusables.enterprise-accounts.settings-tab %}
|
||||
1. Na barra lateral esquerda, clique em **Enterprise licensing** (Licenciamento Empresarial). 
|
||||
1. To identify when the last license sync occurred, under "Enterprise Server instances", look for timestamps next to usage uploaded or synced events.
|
||||
- "Server usage uploaded" indicates license usage between environments was manually updated when a {% data variables.product.prodname_ghe_server %} license file was uploaded.
|
||||
- "{% data variables.product.prodname_github_connect %} server usage synced" indicates license usage between environments was automatically updated.
|
||||
- "{% data variables.product.prodname_github_connect %} server usage never synced" indicates that {% data variables.product.prodname_github_connect %} is configured, but license usage between environments has never updated successfully.
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -75,6 +75,31 @@ O {% data variables.product.prodname_dependabot_security_updates %} exige config
|
||||
1. Em "Segurança e análise de código", à direita de "atualizações de segurança de {% data variables.product.prodname_dependabot %}", clique em **Habilitar** para habilitar o recurso ou **Desabilitar** para desabilitá-lo. {% ifversion fpt or ghec %}Para repositórios públicos, o botão fica desabilitado se o recurso estiver sempre habilitado.{% endif %}
|
||||
{% ifversion fpt or ghec %}{% else %}{% endif %}
|
||||
|
||||
## Overriding the default behavior with a configuration file
|
||||
|
||||
You can override the default behavior of {% data variables.product.prodname_dependabot_security_updates %} by adding a dependabot.yml file to your repository. For more information, see "[Configuration options for the dependabot.yml file](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file)."
|
||||
|
||||
If you only require security updates and want to exclude version updates, you can set `open-pull-request-limit` to `0` in order to prevent version updates for a given `package-ecosystem`. For more information, see "[`open-pull-request-limit`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit)."
|
||||
|
||||
```
|
||||
# Example configuration file that:
|
||||
# - Ignores lodash dependency
|
||||
# - Disables version-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
ignore:
|
||||
- dependency-name: "lodash"
|
||||
# For Lodash, ignore all updates
|
||||
# Disable version updates for npm dependencies
|
||||
open-pull-requests-limit: 0
|
||||
```
|
||||
|
||||
For more information about the configuration options available for security updates, see the table in "[Configuration options for the dependabot.yml file](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#configuration-options-for-the-dependabotyml-file)."
|
||||
|
||||
## Leia mais
|
||||
|
||||
|
||||
@@ -35,35 +35,11 @@ Quaisquer opções que também afetem as atualizações de segurança são usada
|
||||
|
||||
O arquivo *dependabot.yml* tem duas chaves obrigatórias de nível superior: `versão`e `atualizações`. Você pode, opcionalmente, incluir uma chave `registros` de nível superior {% ifversion fpt or ghec or ghes > 3.4 %} e/ou uma chave `enable-beta-ecosystem` key{% endif %}. O arquivo deve começar com a `versão: 2`.
|
||||
|
||||
## Opções de configuração para atualizações
|
||||
## Configuration options for the *dependabot.yml* file
|
||||
|
||||
A chave `atualizações` de nível superior é obrigatória. Você a utiliza para configurar como {% data variables.product.prodname_dependabot %} atualiza as versões ou as dependências do seu projeto. Cada entrada configura as configurações de atualização para um gerenciador de pacotes específico. Você pode usar o seguinte opções.
|
||||
|
||||
| Opção | Obrigatório | Descrição |
|
||||
|:-------------------------------------------------------------------------- |:-----------:|:----------------------------------------------------------------------------------------------- |
|
||||
| [`package-ecosystem`](#package-ecosystem) | **X** | Gerenciador de pacotes para usar |
|
||||
| [`diretório`](#directory) | **X** | Localização de manifestos de pacotes |
|
||||
| [`schedule.interval`](#scheduleinterval) | **X** | Com que frequência verificar se há atualizações |
|
||||
| [`allow`](#allow) | | Personalizar quais atualizações são permitidas |
|
||||
| [`assignees`](#assignees) | | Responsáveis por definir pull request |
|
||||
| [`commit-message`](#commit-message) | | Preferências de mensagens de commit |{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
| [`enable-beta-ecosystems`](#enable-beta-ecosystems) | | Habilitar ecossistemas que têm suporte de nível beta
|
||||
{% endif %}
|
||||
| [`ignore`](#ignore) | | Ignorar determinadas dependências ou versões |
|
||||
| [`insecure-external-code-execution`](#insecure-external-code-execution) | | Permitir ou negar a execução de código nos arquivos de manifesto |
|
||||
| [`etiquetas`](#labels) | | Etiquetas para definir pull requests |
|
||||
| [`marco`](#milestone) | | Marcos para definir pull requests |
|
||||
| [`open-pull-requests-limit`](#open-pull-requests-limit) | | Limite de número de pull request para atualizações de versão |
|
||||
| [`pull-request-branch-name.separator`](#pull-request-branch-nameseparator) | | Alterar o separador para nomes do branch de pull request |
|
||||
| [`rebase-strategy`](#rebase-strategy) | | Desativar o rebasamento automático |
|
||||
| [`registros`](#registries) | | Registros privados que {% data variables.product.prodname_dependabot %} pode acessar |
|
||||
| [`reviewers`](#reviewers) | | Revisores que irão configurar pull request |
|
||||
| [`schedule.day`](#scheduleday) | | Dia da semana para verificar se há atualizações |
|
||||
| [`schedule.time`](#scheduletime) | | Hora do dia para procurar atualizações (hh:mm) |
|
||||
| [`schedule.timezone`](#scheduletimezone) | | Fuso horário para hora do dia (identificador de zona) |
|
||||
| [`target-branch`](#target-branch) | | Branch para criar pull requests contra |
|
||||
| [`vendor`](#vendor) | | Atualizar dependências de vendor ou armazenadas em cache |
|
||||
| [`versioning-strategy`](#versioning-strategy) | | Como atualizar os requisitos da versão do manifesto |
|
||||
{% data reusables.dependabot.configuration-options %}
|
||||
|
||||
Estas opções se encaixam, geralmente, nas seguintes categorias.
|
||||
|
||||
|
||||
@@ -84,6 +84,12 @@ A contagem de {% data variables.product.prodname_dependabot_alerts %} em {% data
|
||||
**Verifique**: Se houver discrepância no total que você está vendo, verifique se você não está comparando números de alerta com números de dependência. Também verifique se você está visualizando todos os alertas e não um subconjunto de alertas filtrados.
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.2 %}
|
||||
## Can Dependabot ignore specific dependencies?
|
||||
|
||||
You can configure {% data variables.product.prodname_dependabot %} to ignore specific dependencies in the configuration file, which will prevent security and version updates for those dependencies. If you only wish to use security updates, you will need to override the default behavior with a configuration file. For more information, see "[Overriding the default behavior with a configuration file](/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#overriding-the-default-behavior-with-a-configuration-file)" to prevent version updates from being activated. For information about ignoring dependencies, see "[`ignore`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#ignore)."
|
||||
{% endif %}
|
||||
|
||||
## Leia mais
|
||||
|
||||
- "[Sobre {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)"
|
||||
|
||||
@@ -116,8 +116,10 @@ Há dois tipos de {% data variables.product.prodname_dependabot_updates %}: {% d
|
||||
- Acionado por um alerta de {% data variables.product.prodname_dependabot %}
|
||||
- Atualizar dependências para a versão mínima que resolve uma vulnerabilidade conhecida
|
||||
- Compatível para os ecossistemas que o gráfico de dependências suporta
|
||||
- Does not require a configuration file, but you can use one to override the default behavior
|
||||
|
||||
{% data variables.product.prodname_dependabot_version_updates %}:
|
||||
- Requires a configuration file
|
||||
- Executar em um calendário que você configura
|
||||
- Atualizar dependências para a última versão que corresponde à configuração
|
||||
- Compatível para um grupo diferente de ecossistemas
|
||||
|
||||
@@ -33,7 +33,7 @@ To read about how GitHub is used by educators, see [GitHub Education stories](ht
|
||||
- Novas organizações da empresa são automaticamente adicionadas à sua conta corporativa. Para adicionar organizações que existiam antes de sua escola juntar-se à {% data variables.product.prodname_campus_program %}, entre em contato com o [suporte do GitHub Education](https://support.github.com/contact/education). Para obter mais informações sobre como administrar sua empresa, consulte a documentação de [administradores da empresa ](/admin). Novas organizações da empresa são automaticamente adicionadas à sua conta corporativa. Para adicionar organizações que existiam antes de sua escola juntar-se à {% data variables.product.prodname_campus_program %}, entre em contato com o suporte do GitHub Education.
|
||||
|
||||
|
||||
Para ler mais sobre as práticas de privacidade de {% data variables.product.prodname_dotcom %}, consulte ["Práticas Globais de Privacidade"](/github/site-policy/global-privacy-practices).
|
||||
To read more about {% data variables.product.prodname_dotcom %}'s privacy practices, see "[Global Privacy Practices](/github/site-policy/global-privacy-practices)."
|
||||
|
||||
## Elegibilidade do aplicativo de {% data variables.product.prodname_campus_program %}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ Se você quiser combinar os commits de seu repositório com as contas pessoais G
|
||||
3. Escolha sua conta pessoal ou uma organização para ser proprietária do repositório e digite um nome para o repositório no GitHub. 
|
||||
4. Especifique se o novo repositório deve ser *público* ou *privado*. Para obter mais informações, consulte "[Configurar visibilidade do repositório](/articles/setting-repository-visibility)". 
|
||||
5. Revise a informação que digitou e clique em **Begin import** (Iniciar importação). 
|
||||
6. Caso seu projeto antigo esteja protegido por uma senha, digite sua informação de login para aquele projeto e clique em **Submit** (Enviar). 
|
||||
6. If your old project requires credentials, type your login information for that project, then click **Submit**. If SAML SSO or 2FA are enabled for your user account on the old project, enter a personal access token with repository read permissions in the "Password" field instead of your password. 
|
||||
7. Se houver vários projetos hospedados na URL clone de seu projeto antigo, selecione o projeto que você quer importar e clique em **Submit** (Enviar). 
|
||||
8. Se seu projeto contiver arquivos maiores que 100 MB, selecione se quer importar os arquivos maiores usando o [Git Large File Storage](/articles/versioning-large-files) e clique em **Continue** (Continuar). 
|
||||
|
||||
|
||||
@@ -6,6 +6,5 @@ versions:
|
||||
children:
|
||||
- /about-github-copilot-telemetry
|
||||
- /github-copilot-telemetry-terms
|
||||
- /research-recitation
|
||||
---
|
||||
|
||||
|
||||
@@ -1,141 +0,0 @@
|
||||
---
|
||||
title: Recitação de pesquisa
|
||||
intro: 'Uma primeira olhada no trecho de aprendizado nas sugestões do Copilot de {% data variables.product.prodname_dotcom %}.'
|
||||
redirect_from:
|
||||
- /early-access/github/copilot/research-recitation
|
||||
versions:
|
||||
fpt: '*'
|
||||
---
|
||||
|
||||
Por: Albert Ziegler (@wunderalbert)
|
||||
|
||||
## Copilot de {% data variables.product.prodname_dotcom %}: Papagaio ou corvo?
|
||||
Uma primeira olhada no trecho de aprendizado nas sugestões do Copilot de {% data variables.product.prodname_dotcom %}.
|
||||
|
||||
## Introdução
|
||||
|
||||
O copilot de {% data variables.product.prodname_dotcom %} é treinado em bilhões de linhas de código público. As sugestões que ele faz para você são adaptadas ao seu código, mas o processamento por trás dele é finalmente informado pelo código escrito por outros.
|
||||
|
||||
Qual é a relação direta entre o código sugerido e o código que o informou? Em um documento recente de provocante <sup id="anchor1">[1](#footnote1)</sup>, Bender, Gebru et al. cunhou a expressão "stochastic parrots" para sistemas de inteligência artificiais como aqueles que alimentam o Copilot de {% data variables.product.prodname_dotcom %}. Ou, conforme comentou um engenheiro de aprendizado de máquina em {% data variables.product.company_short %}<sup id="anchor2">[2](#footnote2)</sup> durante uma conversa perto de uma garrafa de água: esses sistemas podem ser percebidos como "um criança com memória fotográfica."
|
||||
|
||||
Trata-se de uma simplificação excessiva. Muitas sugestões do Copilot de {% data variables.product.prodname_dotcom %} parecem bastante adaptadas para a base de código em que o usuário está trabalhando. Muitas vezes, ele se parece menos com um papagaio e mais com um corvo que cria ferramentas novas a partir de blocos pequenos<sup id="anchor3">[3](#footnote3)</sup>. Mas não há como negar que o Copilot de {% data variables.product.prodname_dotcom %} tem uma memória impressionante:
|
||||
|
||||

|
||||
|
||||
Aqui, eu direcionei intencionalmente<sup id="anchor4">[4](#footnote4)</sup> o Copilit de {% data variables.product.prodname_dotcom %} para recitar um texto bem conhecido que obviamente sabe de cor. Eu também sei alguns textos de cor. Por exemplo, ainda me lembro de alguns poemas que aprendi na escola. No entanto, não importa o tópico , uma vez me senti tentado a fazer sair de uma conversa, falando de tetrâmetro iâmbico e com emoção sobre os narcisos.
|
||||
|
||||
Então isso (ou o equivalente a codificação) é algo que o Copilot de {% data variables.product.prodname_dotcom %} está propenso a fazer? Quantas das suas sugestões são únicas, e com que frequência apenas repetem algum código que ele viu durante o treinamento?
|
||||
|
||||
## O Experimento
|
||||
|
||||
Durante o desenvolvimento inicial do Copilot de {% data variables.product.prodname_dotcom %}, cerca de 300 funcionários o usaram no seu trabalho diário como parte de um teste interno. Este teste forneceu um bom conjunto de dados para testar a recitação. Eu queria saber quantas vezes o Copilot de {% data variables.product.prodname_dotcom %} lhes deu uma sugestão que foi citada de algo que já havia visto antes.
|
||||
|
||||
Limitei a investigação às sugestões do Python em 7 de Maio de 2021 (dia em que começamos a extrair esses dados). Isso deixou 453.780 sugestões espalhadas por mais de 396 "semanas de usuário", ou seja, semanas de calendário, durante as quais um usuário usou ativamente o Copilot de {% data variables.product.prodname_dotcom %} no código Python.
|
||||
|
||||
### Filtragem automática
|
||||
|
||||
453.780 sugestões são muitas, mas muitas delas podem ser ignoradas imediatamente. Para chegar aos casos interessantes, considere as sequências de "palavras" que ocorrem na sugestão na mesma ordem em que o código do Copilot {% data variables.product.prodname_dotcom %} foi treinado. Neste contexto, pontuação, parênteses ou outros caracteres especiais contam todos como "palavras", enquanto abas, espaços ou até mesmo quebras de linha são ignoradas completamente. Afinal, uma citação ainda é uma citação, ainda que seja endentada por 1 aba ou 8 espaços.
|
||||
|
||||
Por exemplo, uma das sugestões do Copilot de {% data variables.product.prodname_dotcom %} foi a seguinte expressão regular para números separados por espaço em branco:
|
||||
|
||||
```
|
||||
r'^\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+'
|
||||
```
|
||||
|
||||
Isso seria exatamente 100 "palavras" no sentido acima, mas é um exemplo particularmente denso: a linha de código média não vazia tem apenas 10 “palavras”. Eu restringi essa investigação a casos em que a sobreposição com o código do Copilot de{% data variables.product.prodname_dotcom %} tenha sido treinada em pelo menos 60 dessas "palavras". Temos que definir o limite em algum lugar, e acho que é bastante raro que sequências mais curtas sejam de grande interesse. De fato, a maioria dos casos interessantes identificados mais tarde estão bem cientes desse limite de 60.
|
||||
|
||||
Se a sobreposição se estender ao que o usuário já escreveu, isso também conta para o comprimento. Afinal, o usuário pode ter escrito esse contexto com a ajuda do Copilot de {% data variables.product.prodname_dotcom %}!
|
||||
|
||||
No exemplo a seguir, o usuário começou a escrever um trecho muito comum. O Copilot de {% data variables.product.prodname_dotcom %} o completa. Embora a conclusão em si seja um pouco curta, junto com o código já existente, ela abre o limite e é mantida.
|
||||
|
||||

|
||||
|
||||
Este procedimento é permissivo o suficiente para deixar muitos exemplos relativamente "enfadonhos", como os dois acima. Mas ainda é eficaz em fazer as análises humanas para os casos interessantes, resolvendo mais de 99% das sugestões do Copilot.
|
||||
|
||||
### Agrupamento manual em bucket
|
||||
|
||||
Depois da filtragem, restavam 473 sugestões. Mas elas surgiram em formas muito diferentes:
|
||||
|
||||
1. Alguns eram, basicamente, apenas repetições de outro caso que passou pela filtragem. Por exemplo, às vezes, o Copilot de {% data variables.product.prodname_dotcom %} faz uma sugestão, o desenvolvedor digita uma linha de comentário e o Copilot de {% data variables.product.prodname_dotcom %} oferece uma sugestão muito semelhante novamente. Retirei estes casos da análise como duplicados.
|
||||
2. Algumas eram sequências longas e repetitivas. Como o exemplo a seguir, em que os blocos repetidos do `‘<p>` são, é claro, encontrados em algum lugar no conjunto de treinamento: <br><br> Essas sugestões podem ser úteis (casos de teste, expressões regulares) ou inúteis (como suspeito que seja o caso). Seja como for, eles não se coadunam com a ideia de uma aprendizagem isolada que tive em mente quando iniciei esta investigação.
|
||||
3. Alguns eram inventários padrão, como números naturais, números primos do mercado ou marcadores do mercado de ações, ou o alfabeto grego: <br>
|
||||
4. Alguns eram formas comuns, simples, talvez mesmo universais, de fazer coisas com um nível muito baixo natural de liberdade. Por exemplo, a parte central do disposto a seguir me parece ser a forma normal de utilizar o pacote BeautifulSoup para analisar uma lista da Wikipédia. Na verdade, o melhor trecho correspondente encontrado nos dados de treinamento do Copilot de {% data variables.product.prodname_dotcom %} <sup id="anchor5">[5](#footnote5)</sup> usa esse código para analisar um artigo diferente e faz coisas diferentes com os resultados. <br> <br>Isso também não corresponde à minha ideia de uma cotação. É como se alguém dissesse "Estou tirando o lixo e voltarei em breve" -- isso é uma afirmação de fato, não uma citação, mesmo que essa frase em particular tenha sido pronunciada muitas vezes antes.
|
||||
5. E, além disso, há todos os outros casos. Aqueles que têm pelo menos alguma sobreposição específica em códigos ou comentários. Isso é o que mais me interessa mais e em que vou me concentrar a partir de agora.
|
||||
|
||||
Este bucket necessariamente tem alguns casos de borda<sup id="anchor6">[6](#footnote6)</sup>, e sua quilometragem pode variar em como você acha que ele deve ser classificado. Talvez você até discorde de todo o conjunto de buckets.
|
||||
|
||||
É por isso que abrimos esse conjunto de dados<sup id="anchor7">[7](#footnote7)</sup>. Então, se você pensar um pouco diferente sobre o bucket ou se estiver interessado em sobre como os outros aspectos Copilot do GitHub repete o seu conjunto de treinamento, convido que você ignore a minha próxima seção e tire as suas próprias conclusões.
|
||||
|
||||
## Resultados
|
||||
|
||||

|
||||
|
||||
Para a maioria das sugestões do Copilot de {% data variables.product.prodname_dotcom %}, o nosso filtro automático não encontrou nenhuma sobreposição significativa com o código usado para o treinamento. Mas chamou a nossa atenção para 473 casos. Remover o primeiro bucket (casos muito parecidos com outros casos) me deixou com 185 sugestões. Do total, 144 foram organizados em buckets de 2 a 4. Este deixou 41 casos no último bucket, as “receitas”, no sentido do termo que tenho em mente.
|
||||
|
||||
Isso corresponde a **1 evento de recitação a cada 10 semanas de usuário** (intervalo de confiança de 95%: 7 a 13 semanas, usando um teste de Poisson).
|
||||
|
||||
Claro, isso foi medido nos desenvolvedores de {% data variables.product.prodname_dotcom %} e da Microsoft que testaram o Copilot de {% data variables.product.prodname_dotcom %}. Se o seu comportamento de codificação for muito diferente do deles, seus resultados podem ser diferentes. Em particular, alguns destes desenvolvedores estão trabalhando apenas em projetos Python — eu não consegui distinguir isso e, portanto, contei a todos que escrevem Python em uma determinada semana como usuário.
|
||||
|
||||
1 evento em 10 semanas não parece muita coisa, mas também não é 0. E encontrei três coisas que me impressionaram.
|
||||
|
||||
### As citações do Copilot de {% data variables.product.prodname_dotcom %} quando não possui contexto específico
|
||||
|
||||
Se eu quiser aprender a letra de uma música, terei de ouvir várias vezes. O Copilot de {% data variables.product.prodname_dotcom %} não é diferente: para aprender um trecho de código de cor, deve ver esse trecho muitas vezes. Cada arquivo só é mostrado no Copilot de {% data variables.product.prodname_dotcom %} uma vez. Portanto, o trecho precisa existir em muitos arquivos diferentes no código público.
|
||||
|
||||
Dos 41 casos principais que destacamos durante a etiquetagem manual, nenhum aparece em menos de 10 arquivos diferentes. A maioria dos (35 casos) aparecem mais de cem vezes. Uma vez, o Copiloto de {% data variables.product.prodname_dotcom %} sugeriu que se iniciasse um arquivo vazio com algo que ele tinha até visto mais do que um trecho de 700.000 vezes diferentes durante o seu treinamento -- era a Licença Pública Geral do GNU.
|
||||
|
||||
O gráfico a seguir mostra o número de arquivos correspondentes dos resultados no bucket 5 (uma marca vermelha na parte inferior para cada resultado) em comparação com 2 a 4 buckets. Deixei de fora o balde 1, que, na verdade, não passa de uma mistura de duplicações de 2 a 4 casos de bucket e de duplicações de casos de balde 5. A distribuição inferida é exibida como uma linha vermelha; ela atinge entre 100 e 1000 correspondências.
|
||||
|
||||

|
||||
|
||||
### O Copilot de {% data variables.product.prodname_dotcom %} faz citações, principalmente, principalmente em contextos genéricos
|
||||
|
||||
Quando o tempo passa, cada arquivo torna-se único. Mas o Copilot de {% data variables.product.prodname_dotcom %} não espera por isso<sup id="anchor8">[8](#footnote8)</sup>: vai oferecer suas soluções, enquanto seu arquivo ainda for extremamente genérico. E na ausência de algo específico para continuar, é muito mais provável que faça citação de outro lugar do que seria caso contrário.
|
||||
|
||||

|
||||
|
||||
É claro que os desenvolvedores de software gastam a maior parte do seu tempo dentro dos arquivos, onde o contexto é único o suficiente para que o Copilot de {% data variables.product.prodname_dotcom %} ofereça sugestões exclusivas. Em contrapartida, as sugestões no início são um pouco acertadas e falhas, já que o Copilot de {% data variables.product.prodname_dotcom %} não pode saber qual será o programa. Mas, às vezes, especialmente em projetos de brinquedo ou scripts independentes, uma quantidade modesta de contexto pode ser suficiente para arriscar uma estimativa razoável do que o usuário queria fazer. Às vezes, ainda é genérico o suficiente para que o Copilot de {% data variables.product.prodname_dotcom %} pense que uma das soluções que ele conhece de coração é promissora:
|
||||
|
||||

|
||||
|
||||
Isto é praticamente tirado diretamente de um trabalho de classe de robótica enviada em diferentes variações<sup id="anchor9">[9](#footnote9)</sup>.
|
||||
|
||||
### A detecção é tão boa quanto a ferramenta que realiza a detecção
|
||||
|
||||
Na sua forma atual, o filtro retornará um bom número de casos sem interesse quando aplicado amplamente. Mas ainda não deveria ter muito ruído. Para os usuários internos no experimento, teria sido um pouco mais de um achado por semana em média (embora, provavelmente, tivesse ocorrido em explosões!). Desses casos, cerca de 17% (intervalo de confiança de 95% usando um teste binômio: 14% a 21%) estaria no quinto bucket.
|
||||
|
||||
E, obviamente, nada é sempre infalível: isso também pode ter falhas. Alguns casos são um pouco difíceis de detectar pela ferramenta que estamos criando, mas ainda temos uma fonte óbvia. Para retornar para o Zen de Python:
|
||||
|
||||

|
||||
|
||||
## Conclusão e próximos passos
|
||||
|
||||
Esta investigação demonstra que o Copilot de {% data variables.product.prodname_dotcom %} _pode_ citar um texto de código literal, mas raramente o faz e, quando isso acontece, ela cita o código que todos citam, principalmente no início de um arquivo, como se para quebrar o gelo.
|
||||
|
||||
Mas ainda há uma grande diferença entre o código de recitação o Copilot do GitHub e eu recitando um poema: eu _sei_ quando eu estou recitando. Eu também gostaria de saber quando o Copilot está repetindo o código existente, em vez de apresentar as suas próprias ideias. Dessa forma, eu posso procurar informações secundárias sobre aquele código e incluir crédito onde se tem de fazer.
|
||||
|
||||
A resposta é óbvia: compartilhar a solução de pré-filtragem que utilizamos nesta análise para detectar a sobreposição com o conjunto de treinamento. Quando uma sugestão contém trechos copiados do conjunto de treinamento, a interface do usuário deverá simplesmente informar de onde é citada. Dessa forma, você pode incluir a atribuição adequada ou decidir contra o uso desse código completamente.
|
||||
|
||||
Esta pesquisa de duplicação ainda não está integrada à pré-visualização técnica, mas tencionamos fazê-lo. E continuaremos a trabalhar na diminuição das taxas de recitação e na clarificação da sua detecção.
|
||||
|
||||
<br><br>
|
||||
|
||||
### Notas de rodapé
|
||||
|
||||
<a name="footnote1">1</a>: [On the Dangers of Stochastic Parrots: Can Language Models Be Too Big?](https://dl.acm.org/doi/10.1145/3442188.3445922) [^](#anchor1)
|
||||
|
||||
<a name="footnote2">2</a>: [Tiferet Gazit](https://github.com/tiferet) [^](#anchor2)
|
||||
|
||||
<a name="footnote3">3</a>: see von Bayern et al. about the creative wisdom of crows: [Compound tool construction by New Caledonian crows](https://www.nature.com/articles/s41598-018-33458-z) [^](#anchor3)
|
||||
|
||||
<a name="footnote4">4</a>: see Carlini et al. about deliberately triggering the recall of training data: [Extracting Training Data from Large Language Models](https://arxiv.org/pdf/2012.07805.pdf) [^](#anchor4)
|
||||
|
||||
<a name="footnote5">5</a>: jaeteekae: [DelayedTwitter](https://github.com/jaeteekae/DelayedTwitter/blob/0a0b03de74c03cfbf36877ffded0cb1312d59642/get_top_twitter_accounts.py#L21) [^](#anchor5)
|
||||
|
||||
<a name="footnote6">6</a>: Probably not _too_ many though. Pedi a alguns desenvolvedores que me ajudassem a etiquetar os casos e todos foram convidados a sinalizar qualquer incerteza com seu julgamento. Isso aconteceu apenas em 34 casos, ou seja, menos de 10%. [^](#anchor6)
|
||||
|
||||
<a name="footnote7">7</a>: No [conjunto de dados público](/assets/images/help/copilot/matched_snippets.csv), eu listo a parte da sugestão do Copilot que também foi encontrada no conjunto de treinamento, quantas vezes foi encontrada e um link para um exemplo onde ocorre no código público. Por motivos de privacidade, eu não incluo a parte não correspondente da conclusão ou o contexto do código que o usuário digitou (apenas uma indicação do seu comprimento). [^](#anchor7)
|
||||
|
||||
<a name="footnote8">8</a>: De fato, desde que este experimento foi realizado, o Copiloto de {% data variables.product.prodname_dotcom %} _mudou_ para exigir um conteúdo mínimo de arquivo. Por conseguinte, algumas das sugestões aqui sinalizadas não teriam sido apresentadas pela versão atual. [^](#anchor8)
|
||||
|
||||
<a name="footnote9">9</a>: Por exemplo, jenevans33: [CS8803-1](https://github.com/jenevans33/CS8803-1/blob/eca1bbc27ca6f7355dbc806b2f95964b59381605/src/Final/ekfcode.py#L23) [^](#anchor9)
|
||||
@@ -322,6 +322,8 @@ sections:
|
||||
Focusing or hovering over a label now displays the label description in a tooltip.
|
||||
- |
|
||||
Creating and removing repository invitations, whether done through the API or web interface, are now subject to rate limits that may be enabled on your GitHub Enterprise Server instance. For more information about rate limits, see "[Configuring rate limits](/admin/configuration/configuring-your-enterprise/configuring-rate-limits)."
|
||||
- |
|
||||
MinIO has announced the removal of the MinIO Gateways starting June 1st, 2022. While MinIO Gateway for NAS continues to be one of the supported storage providers for Github Actions and Github Packages, we recommend moving to MinIO LTS support to avail support and bug fixes from MinIO. For more information about rate limits, see "[Scheduled removal of MinIO Gateway for GCS, Azure, HDFS in the minio/minio repository](https://github.com/minio/minio/issues/14331)."
|
||||
deprecations:
|
||||
-
|
||||
heading: Alterar o formato de autenticação de tokens
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% ifversion ghec %}
|
||||
If your license includes {% data variables.product.prodname_vss_ghe %}, you can identify whether a personal account on {% data variables.product.prodname_dotcom_the_website %} has successfully matched with a {% data variables.product.prodname_vs %} subscriber by downloading the CSV file that contains additional license details. The license status will be one of the following.
|
||||
- "Matched": The personal account on {% data variables.product.prodname_dotcom_the_website %} is linked with a {% data variables.product.prodname_vs %} subscriber.
|
||||
If your license includes {% data variables.product.prodname_vss_ghe %}, you can identify whether a user account on {% data variables.product.prodname_dotcom_the_website %} has successfully matched with a {% data variables.product.prodname_vs %} subscriber by downloading the CSV file that contains additional license details. The license status will be one of the following.
|
||||
- "Matched": The user account on {% data variables.product.prodname_dotcom_the_website %} is linked with a {% data variables.product.prodname_vs %} subscriber.
|
||||
- "Pending Invitation": An invitation was sent to a {% data variables.product.prodname_vs %} subscriber, but the subscriber has not accepted the invitation.
|
||||
- Blank: There is no {% data variables.product.prodname_vs %} association to consider for the personal account on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
- Blank: There is no {% data variables.product.prodname_vs %} association to consider for the user account on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
{% endif %}
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
With per-user pricing, each person consumes one license. {% data variables.product.company_short %} identifies individuals by primary email address.
|
||||
|
||||
{% data variables.product.company_short %} bills for the following people.
|
||||
|
||||
{%- ifversion ghec %}
|
||||
- Enterprise owners who are a member or owner of at least one organization in the enterprise
|
||||
{%- endif %}
|
||||
- Organization members, including owners
|
||||
- Outside collaborators on private{% ifversion ghec %} or internal{% endif %} repositories owned by your organization, excluding forks
|
||||
- Anyone with a pending invitation to become an organization owner or member
|
||||
- Anyone with a pending invitation to become an outside collaborator on private{% ifversion ghec %} or internal{% endif %} repositories owned by your organization, excluding forks
|
||||
{%- ifversion ghec %}
|
||||
- Each user on any {% data variables.product.prodname_ghe_server %} instance that you deploy
|
||||
{% endif %}
|
||||
|
||||
{% data variables.product.company_short %} does not bill for any of the following people.
|
||||
|
||||
{%- ifversion ghec %}
|
||||
- Enterprise owners who are not a member or owner of at least one organization in the enterprise
|
||||
- Enterprise billing managers
|
||||
{%- endif %}
|
||||
- Organization billing managers{% ifversion ghec %} for individual organizations on {% data variables.product.prodname_ghe_cloud %}{% endif %}
|
||||
- Anyone with a pending invitation to become an{% ifversion ghec %} enterprise or{% endif %} organization billing manager
|
||||
- Anyone with a pending invitation to become an outside collaborator on a public repository owned by your organization
|
||||
|
||||
{% note %}
|
||||
|
||||
**Observação**: {% data reusables.organizations.org-invite-scim %}
|
||||
|
||||
{% endnote %}
|
||||
@@ -0,0 +1,25 @@
|
||||
| Opção | Obrigatório | Security Updates | Version Updates | Descrição |
|
||||
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |:-----------:|:----------------:|:---------------:|:----------------------------------------------------------------------------------------------- |
|
||||
| [`package-ecosystem`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem) | **X** | | X | Gerenciador de pacotes para usar |
|
||||
| [`diretório`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#directory) | **X** | | X | Localização de manifestos de pacotes |
|
||||
| [`schedule.interval`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval) | **X** | | X | Com que frequência verificar se há atualizações |
|
||||
| [`allow`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#allow) | | X | X | Personalizar quais atualizações são permitidas |
|
||||
| [`assignees`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#assignees) | | X | X | Responsáveis por definir pull request |
|
||||
| [`commit-message`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#commit-message) | | X | X | Preferências de mensagens de commit |{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
| [`enable-beta-ecosystems`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#enable-beta-ecosystems) | | | X | Habilitar ecossistemas que têm suporte de nível beta
|
||||
{% endif %}
|
||||
| [`ignore`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#ignore) | | X | X | Ignorar determinadas dependências ou versões |
|
||||
| [`insecure-external-code-execution`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#insecure-external-code-execution) | | | X | Permitir ou negar a execução de código nos arquivos de manifesto |
|
||||
| [`etiquetas`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#labels) | | X | X | Etiquetas para definir pull requests |
|
||||
| [`marco`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#milestone) | | X | X | Marcos para definir pull requests |
|
||||
| [`open-pull-requests-limit`](#open-pull-requests-limit) | | X | X | Limite de número de pull request para atualizações de versão |
|
||||
| [`pull-request-branch-name.separator`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#pull-request-branch-nameseparator) | | X | X | Alterar o separador para nomes do branch de pull request |
|
||||
| [`rebase-strategy`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#rebase-strategy) | | X | X | Desativar o rebasamento automático |
|
||||
| [`registros`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#registries) | | | X | Registros privados que {% data variables.product.prodname_dependabot %} pode acessar |
|
||||
| [`reviewers`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#reviewers) | | X | X | Revisores que irão configurar pull request |
|
||||
| [`schedule.day`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleday) | | | X | Dia da semana para verificar se há atualizações |
|
||||
| [`schedule.time`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduletime) | | | X | Hora do dia para procurar atualizações (hh:mm) |
|
||||
| [`schedule.timezone`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduletimezone) | | | X | Fuso horário para hora do dia (identificador de zona) |
|
||||
| [`target-branch`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#target-branch) | | X | X | Branch para criar pull requests contra |
|
||||
| [`vendor`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#vendor) | | | X | Atualizar dependências de vendor ou armazenadas em cache |
|
||||
| [`versioning-strategy`](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#versioning-strategy) | | X | X | Como atualizar os requisitos da versão do manifesto |
|
||||
@@ -1,5 +1,3 @@
|
||||
{% data variables.product.prodname_enterprise %} uses a unique-user licensing model, where each person only consumes one license, no matter how many {% data variables.product.prodname_ghe_server %} instances the person uses, or how many organizations the person is a member of on {% data variables.product.prodname_ghe_cloud %}. This model allows each person to use multiple {% data variables.product.prodname_enterprise %} environments without incurring extra costs.
|
||||
For a person using multiple {% data variables.product.prodname_enterprise %} environments to only consume a single license, you must synchronize license usage between environments. Then, {% data variables.product.company_short %} will deduplicate users based on the email addresses associated with their user accounts. Multiple user accounts will consume a single license when there is a match between an account's primary email address on {% data variables.product.prodname_ghe_server %} and/or an account's verified email address on {% data variables.product.prodname_dotcom_the_website %}. For more information about verification of email addresses on {% data variables.product.prodname_dotcom_the_website %}, see "[Verifying your email address](/enterprise-cloud@latest/get-started/signing-up-for-github/verifying-your-email-address){% ifversion not ghec %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}."{% endif %}
|
||||
|
||||
For a person using multiple {% data variables.product.prodname_enterprise %} environments to only consume a single license, you must synchronize license usage between environments. Then, {% data variables.product.company_short %} will deduplicate users based on the email addresses associated with their personal accounts. Multiple personal accounts will consume a single license when there is a match between an account's primary email address on {% data variables.product.prodname_ghe_server %} and/or an account's verified email address on {% data variables.product.prodname_dotcom_the_website %}. For more information about verification of email addresses on {% data variables.product.prodname_dotcom_the_website %}, see "[Verifying your email address](/enterprise-cloud@latest/get-started/signing-up-for-github/verifying-your-email-address){% ifversion not ghec %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}."{% endif %}
|
||||
|
||||
When you synchronize license usage, only the user ID and email addresses for each personal account on {% data variables.product.prodname_ghe_server %} are transmitted to {% data variables.product.prodname_ghe_cloud %}.
|
||||
When you synchronize license usage, only the user ID and email addresses for each user account on {% data variables.product.prodname_ghe_server %} are transmitted to {% data variables.product.prodname_ghe_cloud %}.
|
||||
@@ -0,0 +1,3 @@
|
||||
{% data variables.product.company_short %} uses a unique-user licensing model. For enterprise products that include multiple deployment options, {% data variables.product.company_short %} determines how many licensed seats you're consuming based on the number of unique users across all your deployments.
|
||||
|
||||
Each user account only consumes one license, no matter how many {% data variables.product.prodname_ghe_server %} instances the user account uses, or how many organizations the user account is a member of on {% data variables.product.prodname_ghe_cloud %}. This model allows each person to use multiple {% data variables.product.prodname_enterprise %} deployments without incurring extra costs.
|
||||
@@ -1,5 +1,5 @@
|
||||
{% note %}
|
||||
|
||||
**Note:** If you synchronize license usage and your enterprise account on {% data variables.product.prodname_dotcom_the_website %} does not use {% data variables.product.prodname_emus %}, we highly recommend enabling verified domains for your enterprise account on {% data variables.product.prodname_dotcom_the_website %}. For privacy reasons, your consumed license report only includes the email address associated with a personal account on {% data variables.product.prodname_dotcom_the_website %} if the address is hosted by a verified domain. If one person is erroneously consuming multiple licenses, having access to the email address that is being used for deduplication makes troubleshooting much easier. For more information. see "[Verifying or approving a domain for your enterprise](/enterprise-cloud@latest/admin/configuration/configuring-your-enterprise/verifying-or-approving-a-domain-for-your-enterprise)" and "[About {% data variables.product.prodname_emus %}](/enterprise-cloud@latest/admin/identity-and-access-management/managing-iam-with-enterprise-managed-users/about-enterprise-managed-users){% ifversion not ghec %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}."{% endif %}
|
||||
**Note:** If you synchronize license usage and your enterprise account on {% data variables.product.prodname_dotcom_the_website %} does not use {% data variables.product.prodname_emus %}, we highly recommend enabling verified domains for your enterprise account on {% data variables.product.prodname_dotcom_the_website %}. For privacy reasons, your consumed license report only includes the email address associated with a user account on {% data variables.product.prodname_dotcom_the_website %} if the address is hosted by a verified domain. If one person is erroneously consuming multiple licenses, having access to the email address that is being used for deduplication makes troubleshooting much easier. For more information, see {% ifversion ghec or ghes > 3.1 %}"[Verifying or approving a domain for your enterprise](/enterprise-cloud@latest/admin/configuration/configuring-your-enterprise/verifying-or-approving-a-domain-for-your-enterprise)" and {% endif %}"[About {% data variables.product.prodname_emus %}](/enterprise-cloud@latest/admin/identity-and-access-management/managing-iam-with-enterprise-managed-users/about-enterprise-managed-users){% ifversion not ghec %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}."{% endif %}
|
||||
|
||||
{% endnote %}
|
||||
@@ -1,4 +1,4 @@
|
||||
When using the **Rebase and Merge** option on a pull request, it's important to note that the commits in the head branch are added to the base branch without commit signature verification. When you use this option, {% data variables.product.prodname_dotcom %} creates a modified commit, using the data and content of the original commit. This means that{% data variables.product.prodname_dotcom %} didn't truly create this commit, and can't therefore sign it as a generic system user.
|
||||
When using the **Rebase and Merge** option on a pull request, it's important to note that the commits in the head branch are added to the base branch without commit signature verification. When you use this option, {% data variables.product.prodname_dotcom %} creates a modified commit, using the data and content of the original commit. This means that {% data variables.product.prodname_dotcom %} didn't truly create this commit, and can't therefore sign it as a generic system user.
|
||||
{% data variables.product.prodname_dotcom %} doesn't have access to the committer's private signing keys, so it can't sign the commit on the user's behalf.
|
||||
|
||||
A workaround for this is to rebase and merge locally, and then push the changes to the pull request's base branch.
|
||||
|
||||
@@ -142,6 +142,7 @@ prodname_codeql_workflow: 'Fluxo de trabalho de análise do CodeQL'
|
||||
prodname_vs: 'Visual Studio'
|
||||
prodname_vscode_shortname: 'VS Code'
|
||||
prodname_vscode: 'Visual Studio Code'
|
||||
prodname_vs_subscriber: '{% data variables.product.prodname_vs %} subscriber'
|
||||
prodname_vss_ghe: 'Visual Studio subscriptions with GitHub Enterprise'
|
||||
prodname_vss_admin_portal_with_url: '[portal de administrador para assinaturas do Visual Studio](https://visualstudio.microsoft.com/subscriptions-administration/)'
|
||||
prodname_vscode_command_palette_shortname: 'Paleta de Comando do VS Code'
|
||||
|
||||
Reference in New Issue
Block a user