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: