commit 057314345a7cfc8e52bbe13a595759d6ca52ac20
parent deac7df80a1491ae65b68a1a1047902bcd775adc
Author: dundargoc <gocdundar@gmail.com>
Date: Wed, 11 Sep 2024 00:55:38 +0200
ci: enable automerge by default when backporting
This will automatically merge backported PRs without human intervention
if the tests pass.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
@@ -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 }}