mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
f0ee548137
Notable changes are performance increases for fetching repositories and simpler workflow file.
23 lines
566 B
YAML
23 lines
566 B
YAML
name: Backport
|
|
on:
|
|
pull_request_target:
|
|
types: [closed, labeled]
|
|
jobs:
|
|
backport:
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
name: Backport Pull Request
|
|
if: >
|
|
github.repository_owner == 'neovim' && (
|
|
github.event_name == 'pull_request_target' &&
|
|
github.event.pull_request.merged
|
|
)
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
- name: Create backport PRs
|
|
uses: korthout/backport-action@v1
|