Skip to main content

Allowing use of GitHub Code Quality in your enterprise

Define policies for Advanced Security that allow repository owners to enable GitHub Code Quality.

¿Quién puede utilizar esta característica?

Enterprise owners

GitHub Code Quality is available for:

  • Public repositories on GitHub.com
  • Organization-owned repositories on GitHub Team or GitHub Enterprise Cloud

Nota:

GitHub Code Quality is currently in versión preliminar pública and subject to change. During versión preliminar pública, Code Quality will not be billed, although Code Quality scans will consume GitHub Actions minutes.

Policy control during the versión preliminar pública

During the versión preliminar 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

  1. Navigate to your enterprise. For example, from https://github.com/settings/enterprises.
  2. En la parte superior de la página, haz clic en Policies.
  3. En "Directivas", haz clic en Advanced Security.
  4. Under "General", select Allow for all organizations, or Allow for selected organizations.
  5. 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.
  6. 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 Aplicación de directivas de seguridad y análisis de código de la empresa.

Next steps

To see Code Quality in action, turn the feature on for one or more repositories, Enabling GitHub Code Quality.