commit d26943a6e185dea23077d41b4c81281e12be3997 parent 54dfee8f0a68985a196857821af1add287b5991a Author: dundargoc <gocdundar@gmail.com> Date: Thu, 2 May 2024 00:58:07 +0200 ci: don't try to label backport PR if it was not created Diffstat:
| M | .github/workflows/backport.yml | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml @@ -24,7 +24,8 @@ jobs: "detect_merge_method": true } - - uses: actions/github-script@v7 + - if: ${{steps.backport.outputs.was_successful == 'true'}} + uses: actions/github-script@v7 with: script: | github.rest.issues.addLabels({