Immutable 发布现在在 GitHub 上普遍可用。
Immutable releases are now generally available on GitHub

原始链接: https://github.blog/changelog/2025-10-28-immutable-releases-are-now-generally-available/

GitHub 引入了**不可变发布**功能,以加强软件供应链安全。此新功能可防止对已发布版本进行篡改——资产无法更改、添加或删除,标签受到保护,无法修改。 主要优势包括**不可变资产**、**标签保护**以及使用 Sigstore 格式的**发布证明**,方便在 GitHub 内部和外部轻松验证真实性。 不可变性可以在仓库或组织级别启用,适用于*新的*发布版本。现有发布版本在重新发布之前仍然是可变的。重要的是,禁用不可变性不会追溯性地影响已经变为不可变的发布版本。 这些功能提供了更强的软件完整性和可信度保证,有助于保护免受供应链攻击,并能够在 CI/CD 管道中实现强大的验证流程。更多详细信息和文档可在 GitHub 网站和社区论坛上找到。

相关文章

原文

GitHub releases now support immutability, adding a new layer of supply chain security. With immutable releases, assets and tags are protected from tampering after publication, so the software you publish—and your users consume—remains secure and trustworthy.

About immutable releases

Immutable releases offer:

  • Immutable assets: Once you publish a release as immutable, its assets can’t be added, modified, or deleted. This helps protect distributed artifacts from supply chain attacks.
  • Tag protection: Tags for new immutable releases are protected and can’t be deleted or moved.
  • Release attestations: Immutable releases receive signed attestations so you can easily verify the authenticity and integrity of assets, both on GitHub and in external environments.

How to enable immutable releases

You can enable immutable releases at the repository or organization level in your settings. Once enabled:

  • All new releases are immutable (i.e., assets are locked and tags are protected).
  • Existing releases remain mutable unless you republish them.

Disabling immutability doesn’t affect releases created while it was enabled. They remain immutable.

Release attestations and verification

Release attestations let you verify that an artifact is authentic and unchanged, even outside GitHub. Attestations use the Sigstore bundle format, so you can easily verify releases and assets using the GitHub CLI or integrate with any Sigstore-compatible tooling to automate policy enforcement in your CI/CD pipelines. For instructions on how to verify the integrity of a release, see our docs on verifying the integrity of a release.

We’d love your feedback. Share your thoughts and questions on the GitHub Community.

For more information, see our immutable releases documentation.

联系我们 contact @ memedata.com