diff --git a/.github/workflows/hypothesis.yaml b/.github/workflows/hypothesis.yaml index 1cafb26ae83..0fc048ffe7b 100644 --- a/.github/workflows/hypothesis.yaml +++ b/.github/workflows/hypothesis.yaml @@ -39,9 +39,9 @@ jobs: if: | always() && ( - (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') - || needs.detect-ci-trigger.outputs.triggered == 'false' - || contains( github.event.pull_request.labels.*.name, 'run-slow-hypothesis') + needs.detect-ci-trigger.outputs.triggered == 'false' + && ( (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') + || contains( github.event.pull_request.labels.*.name, 'run-slow-hypothesis')) ) defaults: run: