注: GitHub 托管的运行器目前在 GitHub Enterprise Server 上不受支持。 您可以在 GitHub 公共路线图 上查看有关未来支持计划的更多信息。
About billing for GitHub Actions
GitHub Actions 帮助您在您存储代� �的同一位置自动执行软件开发工作流程,并协作处理拉取请求和议题。 您可以写入个别任务,称为操作,并结合它们创建一个自定义的工作流程。 For more information, see "Understanding GitHub Actions" and "About GitHub Actions for enterprises."
GitHub Actions usage is free for GitHub Enterprise Server instances that use self-hosted runners. For more information, see "About self-hosted runners."
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 至 400 天。
自定义保留期时,它仅适用于新构件和日志文件,并且不追溯性地应用于现有对象。 对于托管的仓库和组织,最长保留期不能超过管理组织或企业设置的限制。
For more information, see:
- "Managing GitHub Actions settings for a repository"
- "Configuring the retention period for GitHub Actions for artifacts and logs in your organization"
- "Enforcing policies for GitHub Actions in your enterprise"
Disabling or limiting GitHub Actions for your repository or organization
默认情况下,GitHub Actions 在 您的 GitHub Enterprise Server 实例 上启用后,它 将在所有仓库和组织上启用。 You can choose to disable GitHub Actions or limit it to actions in your enterprise.
For more information, see:
- "Managing GitHub Actions settings for a repository"
- "Disabling or limiting GitHub Actions for your organization"
- "Enforcing policies for GitHub Actions in your enterprise"
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."