check for empty array '[]' not empty string []

This commit is contained in:
Fedor Dikarev
2024-11-20 16:41:02 +01:00
parent d133f831c0
commit 723a79159c

View File

@@ -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'