Skip to content

Commit c53dd49

Browse files
committed
fix(workflows): enhance workspace exclusion logic in update-plugins-repo-refs workflow
Updated the condition for filtering excluded workspaces to ensure it only processes non-null workspaces, improving the robustness of the workflow. Signed-off-by: David Festal <dfestal@redhat.com>
1 parent e9b227f commit c53dd49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update-plugins-repo-refs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ jobs:
467467
468468
# Filter out excluded workspaces
469469
470-
if [[ -n "${INPUT_EXCLUDE_WORKSPACES}" ]]; then
470+
if [[ -n "${INPUT_EXCLUDE_WORKSPACES}" && "$workspaces" != "null" ]]; then
471471
workspaces=$(echo "$workspaces" | jq --arg exclude "${INPUT_EXCLUDE_WORKSPACES}" '
472472
with_entries(
473473
select(

0 commit comments

Comments
 (0)