diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index e2e7948cfc44..84c5a043367a 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -12,7 +12,7 @@ permissions: {} jobs: release: - if: !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') && !contains(github.event.pull_request.labels.*.name, 'spam') && !contains(github.event.pull_request.labels.*.name, 'invalid') + if: ${{ !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') && !contains(github.event.pull_request.labels.*.name, 'spam') && !contains(github.event.pull_request.labels.*.name, 'invalid') }} runs-on: ubuntu-latest steps: