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
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.ymldoesn't recognize wildcards, only exact branch names https://github.com/apache/infrastructure-asfyaml?tab=readme-ov-file#branch-protectionDescribe 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.ymlautomaticallyDescribe alternatives you've considered
Update
asf.yamlmanually after every 20 releases(1-1.5 years)Additional context
No response