ci: skip automerge step if backport failed

(cherry picked from commit 67d6b6f27e)
This commit is contained in:
dundargoc 2024-09-13 16:50:08 +02:00 committed by github-actions[bot]
parent f3675337f0
commit d585f3103d

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