diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index f67d6ca4760..3b492f5c31d 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -944,7 +944,12 @@ jobs: if: | (github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') || - (github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) && + (github.event_name == 'pull_request' && + (github.event.pull_request.base.ref != 'unstable' || + contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) && + (github.event.action != 'labeled' || + (github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests')) + )) && !contains(github.event.inputs.skipjobs, 'sanitizer') timeout-minutes: 1440 strategy: @@ -1010,7 +1015,12 @@ jobs: if: | (github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') || - (github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) && + (github.event_name == 'pull_request' && + (github.event.pull_request.base.ref != 'unstable' || + contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) && + (github.event.action != 'labeled' || + (github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests')) + )) && !contains(github.event.inputs.skipjobs, 'sanitizer') && !contains(github.event.inputs.skiptests, 'large-memory') timeout-minutes: 1440 @@ -1082,7 +1092,12 @@ jobs: if: | (github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') || - (github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) && + (github.event_name == 'pull_request' && + (github.event.pull_request.base.ref != 'unstable' || + contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) && + (github.event.action != 'labeled' || + (github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests')) + )) && !contains(github.event.inputs.skipjobs, 'sanitizer') timeout-minutes: 1440 strategy: @@ -1148,7 +1163,12 @@ jobs: if: | (github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') || - (github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) && + (github.event_name == 'pull_request' && + (github.event.pull_request.base.ref != 'unstable' || + contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) && + (github.event.action != 'labeled' || + (github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests')) + )) && !contains(github.event.inputs.skipjobs, 'sanitizer') && !contains(github.event.inputs.skiptests, 'large-memory') timeout-minutes: 1440 @@ -1220,7 +1240,12 @@ jobs: if: | (github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') || - (github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) && + (github.event_name == 'pull_request' && + (github.event.pull_request.base.ref != 'unstable' || + contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) && + (github.event.action != 'labeled' || + (github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests')) + )) && !contains(github.event.inputs.skipjobs, 'sanitizer') timeout-minutes: 1440 strategy: