Skip to content

Commit 595ba62

Browse files
CopilotKanti
andauthored
Use explicit null-check callback in array_filter for Build (load locally) step
Co-authored-by: Kanti <471387+Kanti@users.noreply.github.com>
1 parent 6228391 commit 595ba62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ci/src/GithubJobBuilder.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function getJobsDescription(array $node): array
9494
'if' => $hasImageDependencies ? self::PR_ONLY_IF_NOT : null,
9595
'uses' => 'docker/build-push-action@v6',
9696
'with' => $this->buildPushWith($node),
97-
]),
97+
], fn ($value): bool => $value !== null),
9898
$hasImageDependencies ? [
9999
'name' => 'Build (load locally, from parent artifact)',
100100
'if' => self::PR_ONLY_IF,

0 commit comments

Comments
 (0)