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**.
This commit is contained in:
Wolfgang Walther
2025-05-04 19:18:41 +02:00
parent 93e8cdce7a
commit 2480e356dc
+1 -1
View File
@@ -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 }}