Actions 保留策略现已覆盖检查、运行记录和状态
英文标题:Actions retention now covers checks, runs, and statuses
GitHub 此前宣布的保留策略扩展现已生效:检查(checks)、工作流运行记录(workflow runs)和状态(statuses)将与 Actions 制品及日志使用同一保留期限设置。超过企业、组织或仓库配置的保留期后,这些记录会被自动清理,且规则同时适用于 GitHub Actions 和第三方应用创建的检查及状态。仓库保留期限仍受组织和企业上限约束,公开仓库最长为 90 天;修改设置无法恢复已删除的数据。开发者应检查并按需更新仓库的制品和日志保留期限。
134.6 KB
中文
如此前公告所述,检查(checks)、工作流运行记录(workflow runs)和状态(statuses)现已受同一项 GitHub Actions 保留设置管理;该设置此前用于控制制品(artifacts)和日志的保存时长。
当这些记录超过为企业、组织或仓库配置的保留期限时,系统将自动清理。这一规则适用于由 GitHub Actions 及第三方应用创建的检查和状态。
该设置在 UI 中标注为“检查、工作流运行、状态、制品和日志保留”(“Check, workflow run, status, artifact and log retention”)。仓库保留期限仍受组织和企业上限约束,公开仓库的最长保留期限为 90 天。更改该设置不会恢复此前已被删除的数据。
请查看或更新仓库的制品和日志保留期限。扩展后的保留策略适用于 github.com 上的 GitHub Actions。
English / 原文
As previously announced, checks, workflow runs, and statuses are now governed by the same GitHub Actions retention setting that controls how long artifacts and logs are kept.
These records are automatically cleaned up when they exceed the retention period configured for your enterprise, organization, or repository. This applies to checks and statuses created by GitHub Actions and third-party applications.
The setting is labeled “Check, workflow run, status, artifact and log retention” in the UI. Repository retention remains subject to organization and enterprise caps, and the maximum retention for public repositories is 90 days. Changing the setting won’t restore data that was previously removed.
Review or update the artifact and log retention period for your repository. The expanded retention policy applies to GitHub Actions on github.com.