Observação
GitHub Code Quality is currently in versão prévia pública and subject to change. During versão prévia pública, Code Quality will not be billed, although Code Quality scans will consume GitHub Actions minutes.
Policy control during the versão prévia pública
During the versão prévia pública, the Advanced Security policies have been extended to control access to GitHub Code Quality. If you create a new enterprise, GitHub Secret Protection, GitHub Code Security, and GitHub Code Quality are initially available for repository owners to use across all organizations.
For an existing enterprise, GitHub Code Quality is available to repository owners if the Advanced Security policy already allows the use of GitHub Code Security.
Allowing repository owners to enable Code Quality
- Navigate to your enterprise. For example, from https://github.com/settings/enterprises.
- Na parte superior da página, clique em Policies.{ % else %}No lado esquerdo da página, na barra lateral da conta empresarial, clique em Policies.
- Em "Policies", clique em Advanced Security.
- Under "General", select Allow for all organizations, or Allow for selected organizations.
- If you choose "Allow for selected organizations", for each organization of interest ensure that the policy is All plans or Code Security and Code Quality only.
- In the "Code Security and Code Quality" section, set the "Repository administrators can enable or disable Code Security and Code Quality" option to All repositories: Allowed.
For more information about policies for Advanced Security, see Como impor políticas para segurança e análise de código na empresa.
Next steps
To see Code Quality in action, turn the feature on for one or more repositories, Enabling GitHub Code Quality.