From 2480e356dc9309a48389aacb80f4bdd8fd2a0897 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 4 May 2025 19:18:41 +0200 Subject: [PATCH] workflows/backport: avoid broken korthout/backport-action output Somehow, the was_successful output didn't work correctly. It's hard to imagine that the created_pull_numbers output fails the same way, because... when the backport action fails there **are no pull request numbers**. --- .github/workflows/backport.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}