mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
ci: enable automerge by default when backporting
This will automatically merge backported PRs without human intervention
if the tests pass.
(cherry picked from commit 057314345a
)
This commit is contained in:
committed by
github-actions[bot]
parent
23a9c67f1b
commit
6f34f07a31
5
.github/workflows/backport.yml
vendored
5
.github/workflows/backport.yml
vendored
@ -26,3 +26,8 @@ jobs:
|
||||
pull_title: "${pull_title}"
|
||||
label_pattern: "^ci:backport ([^ ]+)$"
|
||||
github_token: ${{ steps.app-token.outputs.token }}
|
||||
|
||||
- name: Enable automerge
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh pr merge --rebase --auto ${{ steps.backport.outputs.created_pull_numbers }}
|
||||
|
Reference in New Issue
Block a user