@@ -0,0 +1,22 @@
1+name: Backport
2+on:
3+ pull_request:
4+ types: [closed]
5+jobs:
6+ backport:
7+ name: Create backport PRs
8+ if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true
9+ runs-on: ubuntu-latest
10+ steps:
11+ - uses: actions/checkout@v2
12+ with:
13+ # required to find all branches
14+ fetch-depth: 0
15+ - name: Create backport PRs
16+ # should be kept in sync with `version`
17+ uses: zeebe-io/backport-action@9b8949dcd4295d364b0939f07d0c7593598d26cd
18+ with:
19+ github_token: ${{ secrets.GITHUB_TOKEN }}
20+ github_workspace: ${{ github.workspace }}
21+ # should be kept in sync with `uses`
22+ version: 9b8949dcd4295d364b0939f07d0c7593598d26cd