mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
ci: enable automerge by default when backporting
This will automatically merge backported PRs without human intervention if the tests pass.
This commit is contained in:
parent
deac7df80a
commit
057314345a
5
.github/workflows/backport.yml
vendored
5
.github/workflows/backport.yml
vendored
@ -26,3 +26,8 @@ jobs:
|
|||||||
pull_title: "${pull_title}"
|
pull_title: "${pull_title}"
|
||||||
label_pattern: "^ci:backport ([^ ]+)$"
|
label_pattern: "^ci:backport ([^ ]+)$"
|
||||||
github_token: ${{ steps.app-token.outputs.token }}
|
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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user