Skip to content

Automate release branch and tag creation #7128

@CecileRobertMichon

Description

@CecileRobertMichon

User Story

As part of improving release process and setting up a release v-team (#7110), we need to make releasing accessible to more people, specifically, those who don't have write permissions on the repo (i.e. everyone except approvers), without making the overall process less secure or introducing risk of a bad actor being able to create a release. In order to do so, we should make as much of the process automated as possible.

One aspect of the release that is still manual is creating a release branch (for minor releases) and pushing a release tag (that then triggers the release GitHub Action).

Detailed Description

One idea that comes to mind is to make release branch and tag creation also run as part of the Github Action, and to make the Action get triggered on a PR merge. That way, approvers would need to "approve" the release run, but anyone could open the PR to trigger it. What contents those PRs would contain is TBD. Could be simply the tag in a file, or the release notes (but then that is currently dependent on the existence of the tag so we need to be reworked).

Open other ideas if others have suggestions.

Anything else you would like to add:

Follow-ups:

  • We also have to update the release-tasks documentation accordingly

/kind feature

Metadata

Metadata

Labels

area/releaseIssues or PRs related to releasingkind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions