Usage limits, billing, and administration

There are usage limits for GitHub Actions workflows. Usage charges apply to repositories that go beyond the amount of free minutes and storage for a repository.

注: GitHub 托管的运行器目前在 GitHub Enterprise Server 上不受支持。 您可以在 GitHub 公共路线图 上查看有关未来支持计划的更多信息。

About billing for GitHub Actions

GitHub Actions usage is free for GitHub Enterprise Servers that use self-hosted runners.

Availability

GitHub Actions is available on all GitHub products, but GitHub Actions is not available for private repositories owned by accounts using legacy per-repository plans.

Usage limits

Usage limits apply to self-hosted runners. For more information, see "About self-hosted runners."

Artifact and log retention policy

You can configure the artifact and log retention period for your repository, organization, or enterprise account.

默认情况下,工作流程生成的构件和日志文件将保留 90 天,然后自动删除。 您可以根据仓库类型调整保留期:

  • 对于公共仓库:您可以将此保留期更改为 1 至 90 天。

  • For private and internal repositories: you can change this retention period to anywhere between 1 day or 400 days.

自定义保留期时,它仅适用于新构件和日志文件,并且不追溯性地应用于现有对象。 对于托管的仓库和组织,最长保留期不能超过管理组织或企业设置的限制。

For more information, see:

Disabling or limiting GitHub Actions for your repository or organization

默认情况下,GitHub Actions 在 your GitHub Enterprise Server instance 上启用后,它 将在所有仓库和组织上启用。 You can choose to disable GitHub Actions or limit them to local actions only, which means that people can only use actions that exist in your repository.

For more information, see:

Disabling and enabling workflows

You can enable and disable individual workflows in your repository on GitHub.

为防止不必要的工作流程运行,可能会自动禁用计划的工作流程。 在复刻公共仓库时,默认情况下将禁用计划的工作流程。 在公共仓库中,当 60 天内未发生仓库活动时,将自动禁用计划的工作流程。

For more information, see "Disabling and enabling a workflow."

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。