Skip to main content

GitHub Code Quality billing

Learn how usage of Code Quality is measured.

谁可以使用此功能?

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.

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 公共预览版

When you scan private repositories during the 公共预览版, 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 查看按流量计费的产品和许可证的使用情况.

注意

During the 公共预览版, Code Quality uses the dynamic/github-code-scanning/codeql workflow that is also used by code scanning.

Further reading