gateway icon indicating copy to clipboard operation
gateway copied to clipboard

ci: find a way to reenable the cherry-picker process

Open Manoramsharma opened this issue 7 months ago • 2 comments

What type of PR is this?

CI workflow

What this PR does / why we need it:

This PR introduces a custom GitHub Actions workflow to automate the cherry-picking of merged pull requests with a specific label into a target branch. This automation simplifies the release management process and ensures that critical changes are propagated to the necessary branches efficiently.

Which issue(s) this PR fixes:

Fixes #3946

Changes made in this PR:

  • Added a new GitHub Actions workflow (cherry-picker.yml) to automate the cherry-picking process.
  • The workflow is triggered when a pull request targeting the main branch is closed.
  • The workflow checks if the pull request has the label cherrypick/release-v1.1 and if it was merged.
  • The workflow includes steps to:
    • Checkout the repository.
    • Configure Git with the GitHub Actions bot user.
    • Cherry-pick the merge commit into the target branch release/v1.1.
    • Push the changes to the target branch.
  • Ensured the workflow adheres to linting standards by removing trailing spaces and properly formatting comments.

Additional context:

This workflow helps in reducing manual effort for the release manager by automating the process of cherry-picking merged PRs with specific labels into their respective release branches.

Manoramsharma avatar Jul 27 '24 07:07 Manoramsharma