Skip to main content

엔터프라이즈에서 GitHub Code Quality를 사용하는 것을 허용하기

Advanced Security에 대한 정책을 정의하여 리포지토리 소유자가 GitHub Code Quality를 활성화할 수 있도록 합니다.

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

Enterprise owners

GitHub Code Quality을(를) 이용할 수 있습니다.

  • GitHub.com에 대한 퍼블릭 리포지토리
  • GitHub Team 또는 GitHub Enterprise Cloud 에 대한 조직 소유의 리포지토리

참고 항목

GitHub Code Quality is currently in public preview and subject to change. During public preview, Code Quality will not be billed, although Code Quality scans will consume GitHub Actions minutes.

Policy control during the public preview

During the public preview, 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. At the top of the page, click Policies.
  3. Under "Policies", click 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 Enforcing policies for code security and analysis for your enterprise.

Next steps

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