Skip to main content

GitHub Code Quality 计费

了解如何测量 Code Quality 的使用情况。

谁可以使用此功能?

GitHub Code Quality 适用于:

  • GitHub.com 上的公共存储库
  • GitHub Team 或 GitHub Enterprise Cloud 上的组织拥有的存储库

注意

GitHub Code Quality is currently in public preview and subject to change.

How use of GitHub Code Quality is measured

GitHub Code Quality usage is free for all public repositories.

For general availability

When Code Quality is generally available, scanning private repositories will incur two types of costs for an organization:

  • Premium requests
  • GitHub Actions minutes needed to run the scans unless you use self-hosted runners

For the public preview

When you scan private repositories during the public preview, you will not be billed for premium request usage, but GitHub Actions minutes will be consumed.

To view consumption of actions by the dynamic/github-code-scanning/codeql workflow, download a detailed usage report from the "Billing and licensing" tab. See Viewing your usage of metered products and licenses.

注意

During the public preview, Code Quality uses the dynamic/github-code-scanning/codeql workflow that is also used by code scanning.

Further reading