Skip to content

Commit a3493f5

Browse files
authored
Remove space from the scope job (#241)
2 parents 9a731ac + 1f9716c commit a3493f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/NativePipeline.yml

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ jobs:
9999
fi
100100
done
101101
102+
# Trim leading and trailing spaces from selected_workspaces
103+
selected_workspaces=$(echo $selected_workspaces | xargs)
104+
102105
if [[ -n "$selected_workspaces" ]]; then
103106
echo "scope=--all --include '$selected_workspaces'" >> $GITHUB_OUTPUT
104107
echo "widgets=[\"$selected_workspaces\"]" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)