mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
ci: simplify backport workflow
This commit is contained in:
8
.github/workflows/backport.yml
vendored
8
.github/workflows/backport.yml
vendored
@@ -8,15 +8,9 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
name: Backport Pull Request
|
name: Backport Pull Request
|
||||||
if: >
|
if: github.event.pull_request.merged
|
||||||
github.repository_owner == 'neovim' && (
|
|
||||||
github.event_name == 'pull_request_target' &&
|
|
||||||
github.event.pull_request.merged
|
|
||||||
)
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
|
||||||
- name: Create backport PRs
|
- name: Create backport PRs
|
||||||
uses: korthout/backport-action@v1
|
uses: korthout/backport-action@v1
|
||||||
|
Reference in New Issue
Block a user