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.

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

Enterprise owners

GitHub Code Quality is available for:

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

メモ

GitHub Code Quality is currently in パブリック プレビュー and subject to change. During パブリック プレビュー, Code Quality will not be billed, although Code Quality scans will consume GitHub Actions minutes.

Policy control during the パブリック プレビュー

During the パブリック プレビュー, 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. ページの上部にある [ Policies] をクリックします。
  3. [Policies] で、[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 エンタープライズのコード セキュリティと分析のためのポリシーの適用.

Next steps

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