github.com/kubevela/workflow@v0.6.0/.github/workflows/back-port.yaml (about)

     1  name: Backport
     2  on:
     3    pull_request_target:
     4      types:
     5        - closed
     6  
     7  jobs:
     8    # align with crossplane's choice https://github.com/crossplane/crossplane/blob/master/.github/workflows/backport.yml
     9    open-pr:
    10      runs-on: ubuntu-20.04
    11      if: github.event.pull_request.merged
    12      steps:
    13        - name: Checkout
    14          uses: actions/checkout@v2
    15          with:
    16            fetch-depth: 0
    17  
    18        - name: Open Backport PR
    19          uses: zeebe-io/backport-action@v0.0.6
    20          with:
    21            github_token: ${{ secrets.GITHUB_TOKEN }}
    22            github_workspace: ${{ github.workspace }}