diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index fe86eb75cac4..a0dff5db81cb 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -46,7 +46,7 @@ jobs: * Even as a non-commiter, if you find that it is not acceptable, leave a comment. - name: "Add 'has: port to stable' label" - if: steps.backport.outputs.was_successful + if: steps.backport.outputs.created_pull_numbers != '' env: GH_TOKEN: ${{ steps.app-token.outputs.token }} REPOSITORY: ${{ github.repository }}