Skip to main content

Configuring larger runners for default setup

Run code scanning default setup more quickly on bigger codebases using 대형 러너.

누가 이 기능을 사용할 수 있나요?

대형 러너은(는) GitHub Team 플랜 또는 GitHub Enterprise Cloud 플랜을 사용하는 조직 및 기업만 사용할 수 있습니다.

참고

code scanning 기본 설정에 대한 대형 러너에 대한 지원은 현재 공개 미리 보기 버전이며 변경될 수 있습니다.

Provisioning enterprise-level 대형 러너 for default setup

  1. Add a 더 큰 실행기 to your enterprise. For more information, see 대형 런너 관리하기.
    • To add the code-scanning label to your 더 큰 실행기, name the runner code-scanning. An enterprise can only have one 더 큰 실행기 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 더 큰 실행기 named code-scanning. If an organization or repository also has access to an organization-level 더 큰 실행기 named code-scanning, each code scanning job will be randomly assigned to either the organization-level or enterprise-level runner.
  2. 조직이 더 큰 실행기에 액세스할 수 있게 하려면 실행기가 할당된 실행기 그룹을 사용할 수 있는 조직을 지정합니다. 자세한 내용은 더 큰 실행기 액세스 제어을(를) 참조하세요.
  3. To analyze repositories with default setup, grant the desired repositories access to the runner group your 더 큰 실행기 is assigned to. For more information, see 대형 런너 관리하기.
  4. You can now configure default setup for your enterprise, organizations, and repositories, and your 더 큰 실행기 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 대규모 코드 검사를 위한 기본 설정 구성.

Provisioning organization-level 대형 러너 for default setup

  1. Add a 더 큰 실행기 to your organization. See 대형 런너 관리하기.

    • To add a custom label to your 더 큰 실행기, give the runner a name that matches that label. You can use this custom label when you configure default setup with 대형 러너.
  2. By default, all repositories in your organization have access to organization-level runners, meaning every repository can use your 더 큰 실행기. For information on granting only select repositories access to a 더 큰 실행기, see 대형 런너 관리하기.

  3. You can now configure default setup for your organization and repositories, and your 더 큰 실행기 will automatically pick up code scanning jobs. For more information on configuring default setup, see Configuring default setup for code scanning and 대규모 코드 검사를 위한 기본 설정 구성.

Extra steps for Swift analysis

Currently, Swift analysis is not available on 대형 러너 for default setup. Additionally, if your repository has access to a runner with the code-scanning label, such as a 더 큰 실행기 provisioned for default setup, default setup workflows will only use runners labeled code-scanning. If you would like to configure default setup on 대형 러너 and analyze Swift, you have two options: