mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-16 18:04:52 +00:00
Adding Github action for auto backport PR creation (#1600)
* Adding Github action for auto backport PR creation Signed-off-by: Vacha <vachshah@amazon.com> * Adding details to DEVELOPER_GUIDE Signed-off-by: Vacha <vachshah@amazon.com>
This commit is contained in:
parent
fd87f3a2d7
commit
84772904be
16
.github/workflows/backport.yml
vendored
Normal file
16
.github/workflows/backport.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: Backport
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- closed
|
||||||
|
- labeled
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
backport:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Backport
|
||||||
|
steps:
|
||||||
|
- name: Backport
|
||||||
|
uses: tibdex/backport@v1
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
@ -3,7 +3,7 @@
|
|||||||
- [Git Clone OpenSearch Repo](#git-clone-opensearch-repo)
|
- [Git Clone OpenSearch Repo](#git-clone-opensearch-repo)
|
||||||
- [Install Prerequisites](#install-prerequisites)
|
- [Install Prerequisites](#install-prerequisites)
|
||||||
- [JDK 11](#jdk-11)
|
- [JDK 11](#jdk-11)
|
||||||
- [JDK 8 and 17](#jdk-8-and-17)
|
- [JDK 8 and 14](#jdk-8-and-14)
|
||||||
- [Runtime JDK](#runtime-jdk)
|
- [Runtime JDK](#runtime-jdk)
|
||||||
- [Windows](#windows)
|
- [Windows](#windows)
|
||||||
- [Docker](#docker)
|
- [Docker](#docker)
|
||||||
@ -44,6 +44,7 @@
|
|||||||
- [Aggregations](#aggregations)
|
- [Aggregations](#aggregations)
|
||||||
- [Distributed Framework](#distributed-framework)
|
- [Distributed Framework](#distributed-framework)
|
||||||
- [Submitting Changes](#submitting-changes)
|
- [Submitting Changes](#submitting-changes)
|
||||||
|
- [Backports](#backports)
|
||||||
|
|
||||||
# Developer Guide
|
# Developer Guide
|
||||||
|
|
||||||
@ -408,3 +409,7 @@ Includes:
|
|||||||
## Submitting Changes
|
## Submitting Changes
|
||||||
|
|
||||||
See [CONTRIBUTING](CONTRIBUTING.md).
|
See [CONTRIBUTING](CONTRIBUTING.md).
|
||||||
|
|
||||||
|
## Backports
|
||||||
|
|
||||||
|
The Github workflow in [`backport.yml`](.github/workflows/backport.yml) creates backport PRs automatically when the original PR with an appropriate label `backport <backport-branch-name>` is merged to main. For example, if a PR on main needs to be backported to `1.x` branch, add a label `backport 1.x` to the PR. Once this PR is merged to main, the workflow will create a backport PR to the `1.x` branch.
|
Loading…
x
Reference in New Issue
Block a user