mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
048baa92be
backport-action now uses "v0" tag to point to the latest stable version. This helps us avoid having to manually bump the version to get bug fixes.
28 lines
751 B
YAML
28 lines
751 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:
|
|
# required to find all branches
|
|
fetch-depth: 0
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
- name: Create backport PRs
|
|
uses: zeebe-io/backport-action@v0
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
github_workspace: ${{ github.workspace }}
|