Skip to main content

Configuring larger runners for default setup

Run code scanning default setup more quickly on bigger codebases using より大きなランナー (larger runner).

この機能を使用できるユーザーについて

より大きなランナー は、GitHub Team または GitHub Enterprise Cloud プランを使っている組織とエンタープライズのみが使用できます。

メモ

code scanning の既定のセットアップに対する より大きなランナー (larger runner) のサポートは、現在 パブリック プレビュー であり、変更される可能性があります。

Provisioning organization-level より大きなランナー (larger runner) 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 より大きなランナー (larger runner).
  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 より大きなランナー (larger runner) 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 より大きなランナー (larger runner) and analyze Swift, you have two options:

  • Provision a self-hosted macOS runner with the code-scanning label in addition to your より大きなランナー. For more information, see 自己ホストランナーの追加.
  • 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