Skip to content

build: Add backport GH action#31

Merged
sddonne merged 1 commit intomainfrom
backports
Feb 26, 2026
Merged

build: Add backport GH action#31
sddonne merged 1 commit intomainfrom
backports

Conversation

@sddonne
Copy link
Contributor

@sddonne sddonne commented Feb 26, 2026

Part of elastic/kibana#250514

Summary

This PR configure the backporting strategy for the repository.

Details

Adds a github action for automatically backporting using labels.
Adds backport config.
Adds instruction in CONTRIBUTING.md about backporting.

As a summary, this will be the workflow:

Assuming the current published versions are:

  • 1.4.0 <- version with a bug
  • 2.0.0 <- current main
  1. Create a new branch called 1.x from 1.4.0 tag.
  2. Create a label called backport:1.x
  3. Add the label to the PR with the fix, ideally before merging, but will also work after merging it.
  4. After merging the PR the GH action will create the PR into 1.x with the fix.
  5. Make a release from the 1.x branch.

@sddonne sddonne marked this pull request as ready for review February 26, 2026 11:53
@sddonne sddonne requested a review from a team as a code owner February 26, 2026 11:54
Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing

@sddonne sddonne merged commit 6bfd53f into main Feb 26, 2026
4 checks passed
@sddonne sddonne deleted the backports branch February 26, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants