注意
GitHub Enterprise Server 目前不支持 GitHub 托管的运行器。 可以在 GitHub public roadmap 上查看有关未来支持计划的更多信息。
About billing for GitHub Actions
GitHub Actions 帮助您在您存储代码的同一位置自动执行软件开发工作流程,并协作处理拉取请求和议题。 您可以写入个别任务,称为操作,并结合它们创建一个自定义的工作流程。 For more information, see 了解 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 自托管运行器的使用限制.
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, 重新使用工作流.
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:
Workflow run history retention policy
The workflow runs in a repository's workflow run history are retained for 400 days. After 400 days, workflow runs are archived. 10 days after archival, they are permanently deleted. The retention period for workflow runs cannot be modified. For more information, see 查看工作流程运行历史记录.
Disabling or limiting GitHub Actions for your repository or organization
默认情况下,在 GitHub Enterprise Server 上启用 GitHub Actions 之后,它 会在所有存储库和组织上启用。 可以选择禁用 GitHub Actions 或将其限制为企业中的操作 。
You can also manage GitHub Actions settings for your enterprise, such as workflow permissions and cache storage.
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 禁用和启用工作流.