OpenSearch/.github/workflows/backport.yml

21 lines
423 B
YAML

name: Backport
on:
pull_request_target:
types:
- closed
- labeled
jobs:
backport:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
name: Backport
steps:
- name: Backport
uses: VachaShah/backport@v1.1.4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch_name: backport/backport-${{ github.event.number }}