Skip to main content

没有足够的 GitHub 高级安全许可证

你需要可用的 GHAS 许可证才能在专用存储库中启用 GHAS 功能。


组织所有者和安全经理可以管理组织的 security configurations 和 global settings。

Note: Security configurations and global settings are in beta and subject to change.

You must have an available GitHub Advanced Security (GHAS) license for each unique active committer to enable GHAS features on a private repository. To learn about GHAS licensing, as well as unique and active committers, see "About billing for GitHub Advanced Security."

If you try to apply a security configuration with GHAS features to your repositories and don't have enough GHAS licenses, the configuration will only be successfully applied to public repositories. For private repositories, only free security features will be enabled due to the license limitation, resulting in the following outcomes:

  • Free security features enabled in the configuration will be enabled for all private repositories.
  • GHAS features will not be enabled for any private repositories.
  • The security configuration will not be applied to any private repositories, since only some features from the configuration are enabled.

For more information on managing GHAS licenses for your organization, see "Managing your GitHub Advanced Security license usage."