nixpkgs-suyu/.github/workflows/backport.yml

24 lines
796 B
YAML
Raw Normal View History

name: Backport
on:
2021-05-28 16:35:13 +02:00
pull_request_target:
types: [closed]
jobs:
backport:
2021-05-28 16:35:13 +02:00
name: Backport Pull Request
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# required to find all branches
fetch-depth: 0
2021-05-28 16:35:13 +02:00
ref: ${{ github.event.pull_request.head.sha }}
- name: Create backport PRs
# should be kept in sync with `version`
uses: zeebe-io/backport-action@9b8949dcd4295d364b0939f07d0c7593598d26cd
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}
# should be kept in sync with `uses`
version: 9b8949dcd4295d364b0939f07d0c7593598d26cd