From 60718c7f4379b70f1bdcf7f5de17ef1804107b8c Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Tue, 17 Feb 2026 17:55:23 +0100 Subject: [PATCH] Fix array_column() on null in nightly_matrix.php --- .github/nightly_matrix.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/nightly_matrix.php b/.github/nightly_matrix.php index 8e4e9e7606e..0fd712f29db 100644 --- a/.github/nightly_matrix.php +++ b/.github/nightly_matrix.php @@ -155,7 +155,7 @@ $branches = $branch === 'master' ? get_branches() : [['ref' => $branch, 'version' => get_current_version()]]; -$labels = json_decode($argv[4] ?? '[]', true); +$labels = json_decode($argv[4] ?? '[]', true) ?? []; $labels = array_column($labels, 'name'); $all_variations = $trigger === 'schedule' || $trigger === 'workflow_dispatch' || in_array('CI: All variations', $labels, true);