Skip to main content

Configuring larger runners for default setup

Run code scanning default setup more quickly on bigger codebases using ejecutores más grandes.

¿Quién puede utilizar esta característica?

Los Ejecutor más grande solo están disponibles para organizaciones y empresas que usan los planes GitHub Team o GitHub Enterprise Cloud.

Nota:

La compatibilidad con ejecutores más grandes para la configuración predeterminada de code scanning se encuentra actualmente en versión preliminar pública y está sujeta a cambios.

Provisioning enterprise-level ejecutores más grandes for default setup

  1. Add a ejecutor más grande to your enterprise. For more information, see Administración de ejecutores más grandes.
    • To add the code-scanning label to your ejecutor más grande, name the runner code-scanning. An enterprise can only have one ejecutor más grande named code-scanning, and that runner will handle all code scanning jobs for all organizations and repositories within your enterprise that:
      • Have access to the enterprise-level runner, and
      • Don't have access to an organization-level ejecutor más grande named code-scanning. If an organization or repository also has access to an organization-level ejecutor más grande named code-scanning, each code scanning job will be randomly assigned to either the organization-level or enterprise-level runner.
  2. Para permitir que las organizaciones accedan a los ejecutor más grande, especifica qué organizaciones pueden usar el grupo de ejecutores al que está asignado el ejecutor. Para más información, consulta Control del acceso a los ejecutores más grandes.
  3. To analyze repositories with default setup, grant the desired repositories access to the runner group your ejecutor más grande is assigned to. For more information, see Administración de ejecutores más grandes.
  4. You can now configure default setup for your enterprise, organizations, and repositories, and your ejecutor más grande will automatically pick up code scanning jobs as previously specified. For more information on configuring default setup, see Configuring default setup for code scanning and Establecimiento de la configuración predeterminada para el examen de código a gran escala.

Provisioning organization-level ejecutores más grandes for default setup

  1. Add a ejecutor más grande to your organization. See Administración de ejecutores más grandes.

    • To add a custom label to your ejecutor más grande, give the runner a name that matches that label. You can use this custom label when you configure default setup with ejecutores más grandes.
  2. By default, all repositories in your organization have access to organization-level runners, meaning every repository can use your ejecutor más grande. For information on granting only select repositories access to a ejecutor más grande, see Administración de ejecutores más grandes.

  3. You can now configure default setup for your organization and repositories, and your ejecutor más grande will automatically pick up code scanning jobs. For more information on configuring default setup, see Configuring default setup for code scanning and Establecimiento de la configuración predeterminada para el examen de código a gran escala.

Extra steps for Swift analysis

Currently, Swift analysis is not available on ejecutores más grandes for default setup. Additionally, if your repository has access to a runner with the code-scanning label, such as a ejecutor más grande provisioned for default setup, default setup workflows will only use runners labeled code-scanning. If you would like to configure default setup on ejecutores más grandes and analyze Swift, you have two options: