diff --git a/ci/workflows/pull-request.yml b/ci/workflows/pull-request.yml index da61daae72b14..367aaee3730e0 100644 --- a/ci/workflows/pull-request.yml +++ b/ci/workflows/pull-request.yml @@ -526,7 +526,7 @@ steps: retry: *auto-retry - label: "enable ci/skip-ci only in draft PRs" - if: build.pull_request.labels includes "ci/skip-ci" && build.pull_request.labels includes "!build.pull_request.draft" + if: build.pull_request.labels includes "ci/skip-ci" && !build.pull_request.draft commands: - echo "ci/skip-ci is only usable for draft Pull Requests" - exit 1 \ No newline at end of file