diff options
author | dundargoc <gocdundar@gmail.com> | 2024-09-11 00:55:38 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-09-13 12:31:33 +0200 |
commit | 057314345a7cfc8e52bbe13a595759d6ca52ac20 (patch) | |
tree | 741b0e871e5b59821dc1ba0e2b85f2d59c89366a | |
parent | deac7df80a1491ae65b68a1a1047902bcd775adc (diff) | |
download | rneovim-057314345a7cfc8e52bbe13a595759d6ca52ac20.tar.gz rneovim-057314345a7cfc8e52bbe13a595759d6ca52ac20.tar.bz2 rneovim-057314345a7cfc8e52bbe13a595759d6ca52ac20.zip |
ci: enable automerge by default when backporting
This will automatically merge backported PRs without human intervention
if the tests pass.
-rw-r--r-- | .github/workflows/backport.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 0c3ba6be34..79d4bd115e 100644 --- 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 }} |