From b4f245bc6addc3a0d20f79511dcca3db425fb97b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Marks?= Date: Fri, 10 Nov 2023 15:22:31 +0100 Subject: [PATCH] Fix run condition --- .github/workflows/lts-backport.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lts-backport.yaml b/.github/workflows/lts-backport.yaml index 262b95c4366f..505f5065347a 100644 --- a/.github/workflows/lts-backport.yaml +++ b/.github/workflows/lts-backport.yaml @@ -7,8 +7,7 @@ on: jobs: add-to-backporting-project: - if: "github.event.pull_request.merged == true - && !contains(github.event.push.message, '[Next only]')" + if: "!contains(github.event.push.message, '[Next only]')" runs-on: ubuntu-latest steps: