Skip to content

chore: Modify prerelease process to protect automatically RC branch #17134

@comphead

Description

@comphead

Is your feature request related to a problem or challenge?

While discussing RC branch protection in #17132 we hardcoding 20 future release candidate branches. The hard code is needed because github asf.yml doesn't recognize wildcards, only exact branch names https://github.com/apache/infrastructure-asfyaml?tab=readme-ov-file#branch-protection

Describe the solution you'd like

To automate the process it would be nice to have a prerelease script that would be a part of release process and update the asf.yml automatically

Describe alternatives you've considered

Update asf.yaml manually after every 20 releases(1-1.5 years)

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions