Skip to main content

기본 설정용으로 대형 러너 구성하기

대형 러너를 사용하여 더 큰 코드베이스에서 code scanning 기본 설정을 더 빠르게 실행합니다.

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

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

참고

Support for larger runners for code scanning default setup is currently in public preview and subject to change.

Provisioning organization-level larger runners for default setup

  1. Add a larger runner to your organization. See Managing larger runners.

    • To add a custom label to your larger runner, give the runner a name that matches that label. You can use this custom label when you configure default setup with larger runners.
  2. By default, all repositories in your organization have access to organization-level runners, meaning every repository can use your larger runner. For information on granting only select repositories access to a larger runner, see Managing larger runners.

  3. You can now configure default setup for your organization and repositories, and your larger runner will automatically pick up code scanning jobs. For more information on configuring default setup, see Configuring default setup for code scanning and Configuring default setup for code scanning at scale.

Extra steps for Swift analysis

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

  • Provision a self-hosted macOS runner with the code-scanning label in addition to your larger runner. For more information, see Adding self-hosted runners.
  • Ensure any repositories containing Swift do not have access to runners with the label code-scanning. Default setup workflows for that repository will only use standard runners