diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 4eb8ff4844..774988bb98 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -137,7 +137,7 @@ jobs: backport: - if: ${{ needs.get-backport-target-branch.outputs.matrix != '[]' }} + if: ${{ needs.get-backport-target-branch.outputs.matrix != '[]' && needs.get-backport-target-branch.outputs.matrix != '' }} runs-on: ubuntu-latest needs: get-backport-target-branch strategy: