Skip to content

Make the update version automation run on schedule for all release branches #5897

@rdner

Description

@rdner

Describe the enhancement:
Currently, the "update versions" automation runs on a daily schedule:

https://github.com/elastic/elastic-agent/blob/0cdfef580e28e0488ae2bfa9e1372e083e3712c0/.github/workflows/bump-agent-versions.yml#L7C14-L7C23

Github allows to set a schedule only for the main branch. This means we have to manually run this automation for the rest of the release branches.

We should modify the script on main so it checks out all active release branches and runs the version updates for every branch creating corresponding PRs.

Describe a specific use case for the enhancement or feature:

Without this maintenance, the CI would start failing on release branches at some point and we would have to spend time on maintaining it manually.

What is the definition of done?

  1. We have a daily Github workflow that runs version updates for each active release branch
  2. We should have a way to configure what active release branches are, so we don't run this automation for branches we no longer release from.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions