Skip to content

[feature request] Enable immutable releases #6748

@martincostello

Description

@martincostello

Package

None

Is your feature request related to a problem?

To improve the security and integrity of the release process, we should enable Immutable releases.

The prevents tags associated with releases being deleted and release artifacts from being tampered with.

We already create releases as drafts:

gh release create $tag $releaseFiles `
--title $tag `
--verify-tag `
--notes $notes `
--prerelease `
--draft

gh release create $tag $releaseFiles `
--title $tag `
--verify-tag `
--notes $notes `
--latest `
--draft

We would just need to ensure that any files required are attached to the release before the release is published here:

gh release edit $tag --draft=false

What is the expected behavior?

Releases are immutable, which appear in the UI similar to below:

Image

Which alternative solutions or features have you considered?

None.

Additional context

open-telemetry/sig-security#164

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-triageNew issues which have not been classified or triaged by a community member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions