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:
dundargoc 2024-09-11 00:55:38 +02:00
parent f289161c3c
commit 4f8918e6b3

View File

@ -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 }}