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:
dundargoc
2024-09-11 00:55:38 +02:00
committed by github-actions[bot]
parent 23a9c67f1b
commit 6f34f07a31

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