diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index cc2e16af..86b52df6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -227,7 +227,7 @@ jobs: pip install -r ./scripts/requirements.txt for file in ${PUBLISHED_COLLECTION_FILES}; do collection_id=$(python3 ./scripts/generate-mdx.py "$file") - collection_ids=$(echo $collection_ids | jq --arg id "$collection_id" '. + [$id]') + collection_ids=$(echo $collection_ids | jq --arg id "$(echo $collection_id | sed 's/"/\\"/g')" '. + [$id]') done echo "collection_ids=${collection_ids}" >> $GITHUB_ENV