-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Adding Github action for auto backport PR creation #1600
Adding Github action for auto backport PR creation #1600
Conversation
Signed-off-by: Vacha <[email protected]>
Can one of the admins verify this patch? |
✅ Gradle Wrapper Validation success ff660bc |
Thanks for finding this, @VachaShah Very cool :) |
✅ Gradle Precommit success ff660bc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's worth adding a "backports" section to https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md as well.
Once we are happy with this, let's run a campaign for 1.3 to add this to all plugins/components?
@VachaShah Feel free to merge! Want to create some backport labels, especially for |
Signed-off-by: Vacha <[email protected]>
Thanks @dblock ! I added the details in the |
✅ Gradle Wrapper Validation success 88a6d75 |
✅ Gradle Precommit success 88a6d75 |
Hi @dblock , looks like I don't have permissions to create labels on the repo. |
@dblock Can you merge this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
|
I believe this would help all the repositories in the opensearch-project. |
That would be in https://github.com/opensearch-project/project-meta maybe? Either way, I want to make sure we can track that campaign for plugins as part of an OpenSearch release, separately, as well. |
@dblock, yes the OpenSearch label was created and I will do the same for other repos. I will create the parent issue shortly for other repos and track one for plugins as well. |
Signed-off-by: Vacha [email protected]
Description
This Github action creates backport PR automatically when appropriate labels are added to the PR on main. Once the original PR gets merged to main, this Github action will open backport PR. For example, if we want to backport a PR to 1.x, add label
backport 1.x
to the original PR, once this PR is merged, the Github action will open a backport to 1.x PR from the original PR.Reference: https://github.com/marketplace/actions/backporting
I tried this on my own repo and was able to create appropriate backport PRs. Example: VachaShah/TestGithubActions#7
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.