Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(.github): add a workflow to backport PRs manually #12940

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jijiechen
Copy link
Member

@jijiechen jijiechen commented Feb 25, 2025

Motivation

To make backport PRs to other branches more convenient, now manually.

Implementation information

changed the way to get PR info from the GitHub Actions context to by invoking the gh CLI

@jijiechen jijiechen requested a review from a team as a code owner February 25, 2025 07:44
@jijiechen jijiechen added ci/skip-test PR: Don't run unit and e2e tests (maybe this is just a doc change) blocked This is blocked by another issue or something external labels Feb 25, 2025
Signed-off-by: Jay Chen <[email protected]>
Copy link
Contributor

Reviewer Checklist

🔍 Each of these sections need to be checked by the reviewer of the PR 🔍:
If something doesn't apply please check the box and add a justification if the reason is non obvious.

  • Is the PR title satisfactory? Is this part of a larger feature and should be grouped using > Changelog?
  • PR description is clear and complete. It Links to relevant issue as well as docs and UI issues
  • This will not break child repos: it doesn't hardcode values (.e.g "kumahq" as an image registry)
  • IPv6 is taken into account (.e.g: no string concatenation of host port)
  • Tests (Unit test, E2E tests, manual test on universal and k8s)
    • Don't forget ci/ labels to run additional/fewer tests
  • Does this contain a change that needs to be notified to users? In this case, UPGRADE.md should be updated.
  • Does it need to be backported according to the backporting policy? (this GH action will add "backport" label based on these file globs, if you want to prevent it from adding the "backport" label use no-backport-autolabel label)

@jijiechen jijiechen changed the title ci(.github): add a workflow to backport RPs manually ci(.github): add a workflow to backport PRs manually Feb 25, 2025
Signed-off-by: Jay Chen <[email protected]>
Signed-off-by: Jay Chen <[email protected]>
@jijiechen jijiechen removed the blocked This is blocked by another issue or something external label Feb 27, 2025
@jijiechen
Copy link
Member Author

@lahabana
Copy link
Contributor

lahabana commented Mar 5, 2025

Could be good to do this as well while we touch this job: https://github.com/Kong/team-mesh/issues/295

@jijiechen
Copy link
Member Author

In the latest update, it now extracts change log from original PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/skip-test PR: Don't run unit and e2e tests (maybe this is just a doc change)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants