ci: skip automerge step if backport failed

This commit is contained in:
dundargoc 2024-09-13 16:50:08 +02:00 committed by dundargoc
parent 8512f669f0
commit 67d6b6f27e

View File

@ -40,6 +40,7 @@ jobs:
})
- name: Enable automerge
if: ${{ steps.backport.outputs.was_successful == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge --rebase --auto ${{ steps.backport.outputs.created_pull_numbers }}