diff options
Diffstat (limited to '.github/workflows/backport.yaml')
-rw-r--r-- | .github/workflows/backport.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml new file mode 100644 index 00000000..cf317770 --- /dev/null +++ b/.github/workflows/backport.yaml @@ -0,0 +1,28 @@ +name: Backport labeled merged pull requests +on: + pull_request_target: + types: [closed] +jobs: + build: + name: Create backport PRs + runs-on: ubuntu-latest + # Only run when pull request is merged + # or when a comment containing `/backport` is created + if: github.event.pull_request.merged + steps: + - uses: actions/checkout@v2 + with: + # Required to find all branches + fetch-depth: 0 + - name: Create backport PRs + # Should be kept in sync with `version` + uses: zeebe-io/backport-action@v0.0.4 + with: + # Required + # Version of the backport-action + # Must equal the version in `uses` + # Recommended: latest tag or `master` + version: v0.0.4 + + github_token: ${{ secrets.GITHUB_TOKEN }} + github_workspace: ${{ github.workspace }} |