/backport-action

GitHub Action to backport pull requests

Primary LanguageShellApache License 2.0Apache-2.0

backport-action

GitHub Action to backport pull requests.

Put this in your .github/workflows/backport.yml:

name: Backport

on:
  pull_request:
    types:
      - closed
      - labeled

jobs:
  backport:
    runs-on: ubuntu-latest
    name: Backport closed pull request
    steps:
    - uses: syndesisio/backport-action@v1

And for each pull request that needs to be backported to branch <branch> add a backport <branch> label on the pull request.