{"meta":{"title":"计费和使用情况","intro":"GitHub Actions 工作流有使用限制。 使用费适用于超出仓库免费分钟数和存储空间量的仓库。","product":"GitHub Actions","breadcrumbs":[{"href":"/zh/enterprise-server@3.22/actions","title":"GitHub Actions"},{"href":"/zh/enterprise-server@3.22/actions/concepts","title":"概念"},{"href":"/zh/enterprise-server@3.22/actions/concepts/billing-and-usage","title":"计费和使用情况"}],"documentType":"article"},"body":"# 计费和使用情况\n\nGitHub Actions 工作流有使用限制。 使用费适用于超出仓库免费分钟数和存储空间量的仓库。\n\n## 关于计费 GitHub Actions\n\n对于使用自托管运行器的 GitHub Actions 实例，使用 GitHub Enterprise Server 是免费的。 有关详细信息，请参阅“[自托管运行程序](/zh/enterprise-server@3.22/actions/concepts/runners/self-hosted-runners)”。\n\n## 使用限制和策略\n\n使用 GitHub Actions 托管的运行器时，GitHub 的使用有若干限制。 请参阅“[Actions 限制](/zh/enterprise-server@3.22/actions/reference/limits)”。\n\n除了使用限制之外，还必须确保在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)。\n\n## 可重复使用的工作流程的计费\n\n如果重复使用工作流，则计费始终与调用方工作流程相关联。 对 GitHub 托管运行程序的分配始终仅根据调用方的上下文进行评估。 调用方无法使用来自被调用仓库的 GitHub 托管运行器。\n\n有关详细信息，请参阅“[重用工作流](/zh/enterprise-server@3.22/actions/how-tos/reuse-automations/reuse-workflows)”。\n\n## 后续步骤\n\n您可以管理您的存储库、组织或企业帐户的 GitHub Actions 使用情况和保留策略。 有关详细信息，请参阅：\n\n* [管理存储库的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)\n* [为组织中的 GitHub Actions 构件和日志配置保留期](/zh/enterprise-server@3.22/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization)\n* [禁用或限制组织的 GitHub Actions](/zh/enterprise-server@3.22/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization)\n* [在企业中强制实施GitHub Actions策略](/zh/enterprise-server@3.22/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise)"}