Skip to content

Update release action to create draft releases #81

Description

@timonviola

We want to enable immutable Github releases to default to better security practices, this is especially relevant for public/open-source repositories.

This is also a meaningful security improvement if we want to enable bots/agents to auto-merge on repositories e.g. dependabot (Related to https://github.com/SneaksAndData/terraform/issues/7687)

https://docs.github.com/en/code-security/concepts/supply-chain-security/immutable-releases

Before we do this, gh recommends:

We recommend you use the following workflow for publishing an immutable release.
Create the release as a draft.
Attach all associated assets to the draft release.
Publish the draft release.
This ensures that all assets are in place before the release becomes immutable, preventing the need to work around immutability restrictions.

Suggestion from @george-zubrienko :

i'd suggest we add "updated" workflow action that publishes draft release and then you can go click approve to promote it, or if you deny it removes the draft

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions