Skip to main content

Billing and usage

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.

About billing for GitHub Actions

公共存储库中标准 GitHub 托管的运行器和自托管运行器可免费使用 GitHub Actions。 请参阅“选择作业的运行器”。 对于专用仓库,每个 GitHub 帐户可获得一定配额的免费时间和存储以用于 GitHub 托管的运行器,具体取决于帐户的计划。 超出包含金额的任何使用量将计入你的帐户。 For more information, see 关于 GitHub Actions 的计费.

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. 有关详细信息,请参阅 GitHub 的计划

Usage limits and policy

There are several limits on GitHub Actions usage when using GitHub-hosted runners. See Actions 限制.

In addition to the usage limits, you must ensure that you use GitHub Actions within the GitHub Terms of Service. For more information on GitHub Actions-specific terms, see the GitHub Additional Product Terms.

GitHub Actions usage metrics

Organization owners and users with the "View organization Actions metrics" permission can view GitHub Actions usage metrics for their organization. These metrics can help you understand how and where your Actions minutes are being used. For more information, see 查看组织的 GitHub Actions 指标.

When you view usage metrics, it is important to remember that GitHub Actions 使用指标不对显示的指标应用分钟乘数。 虽然_可_帮助你了解自己的账单,但其主要用途是帮助你了解组织中“操作”分钟的方式和位置。

有关分钟乘数的详细信息,请参阅“关于 GitHub Actions 的计费”。

Billing for reusable workflows

If you reuse a workflow, billing is always associated with the caller workflow. Assignment of GitHub-hosted runners is always evaluated using only the caller's context. The caller cannot use GitHub-hosted runners from the called repository.

For more information see, Reuse workflows.

Next steps

You can manage your GitHub Actions usage and retention policies for your repository, organization, or enterprise account. For more information, see: