Skip to content

Commit feeff97

Browse files
committed
syntax
1 parent 6f99e2f commit feeff97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/smoke-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
3232
DISTROS="${{ github.event.inputs.ros_distros || 'humble,jazzy' }}"
3333
else
34-
# Use same distributions as the completed workflow
34+
# Use same distributions as the completed workflow or PR default
3535
DISTROS="humble,iron,jazzy,kilted,rolling"
3636
fi
3737
echo "Testing distributions: $DISTROS"
38-
JSON_ARRAY=$(echo $DISTROS | jq -R 'split(",") | map(select(length > 0))')
38+
JSON_ARRAY=$(echo "$DISTROS" | jq -R -c 'split(",") | map(select(length > 0))')
3939
echo "distros=$JSON_ARRAY" >> $GITHUB_OUTPUT
4040
4141
smoke-test:

0 commit comments

Comments
 (0)