From 723a79159c2a8580cdaf99c42e132480fb604577 Mon Sep 17 00:00:00 2001 From: Fedor Dikarev Date: Wed, 20 Nov 2024 16:41:02 +0100 Subject: [PATCH] check for empty array '[]' not empty string [] --- .github/workflows/build-macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index ed96e3f26e..81ba31742a 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -41,7 +41,7 @@ jobs: check-macos-build: needs: [ files-changed ] if: | - needs.files-changed.outputs.postgres_changes != '' && ( + needs.files-changed.outputs.postgres_changes != '[]' && ( contains(github.event.pull_request.labels.*.name, 'run-extra-build-macos') || contains(github.event.pull_request.labels.*.name, 'run-extra-build-*') || github.ref_name == 'main'