# 计费和使用情况

GitHub Actions 工作流有使用限制。 使用费适用于超出仓库免费分钟数和存储空间量的仓库。

## 关于计费 GitHub Actions

对于使用自托管运行器的 GitHub Actions 实例，使用 GitHub Enterprise Server 是免费的。 有关详细信息，请参阅“[自托管运行程序](/zh/enterprise-server@3.22/actions/concepts/runners/self-hosted-runners)”。

## 使用限制和策略

使用 GitHub Actions 托管的运行器时，GitHub 的使用有若干限制。 请参阅“[Actions 限制](/zh/enterprise-server@3.22/actions/reference/limits)”。

除了使用限制之外，还必须确保在GitHub Actions[GitHub服务条款](/zh/site-policy/github-terms/github-terms-of-service)中使用。 有关特定条款的详细信息GitHub Actions，请参阅[GitHub其他产品条款](/zh/site-policy/github-terms/github-terms-for-additional-products-and-features#actions)。

## 可重复使用的工作流程的计费

如果重复使用工作流，则计费始终与调用方工作流程相关联。 对 GitHub 托管运行程序的分配始终仅根据调用方的上下文进行评估。 调用方无法使用来自被调用仓库的 GitHub 托管运行器。

有关详细信息，请参阅“[重用工作流](/zh/enterprise-server@3.22/actions/how-tos/reuse-automations/reuse-workflows)”。

## 后续步骤

您可以管理您的存储库、组织或企业帐户的 GitHub Actions 使用情况和保留策略。 有关详细信息，请参阅：

* [管理存储库的GitHub Actions设置](/zh/enterprise-server@3.22/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository)
* [为组织中的 GitHub Actions 构件和日志配置保留期](/zh/enterprise-server@3.22/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization)
* [禁用或限制组织的 GitHub Actions](/zh/enterprise-server@3.22/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization)
* [在企业中强制实施GitHub Actions策略](/zh/enterprise-server@3.22/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise)