From 97bcb5208a9d6bfd1b9f27a701e51ea3bfa74e7f Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Sat, 5 Aug 2023 11:26:07 -0400 Subject: [PATCH] CI: attempt to print body contents without evaluating expressions --- .github/workflows/zip-preview.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/zip-preview.yml b/.github/workflows/zip-preview.yml index 9a9dc7f86e..bfae89eee4 100644 --- a/.github/workflows/zip-preview.yml +++ b/.github/workflows/zip-preview.yml @@ -17,7 +17,7 @@ jobs: - name: Generate Preview Content id: zip_preview run: | - zip_url="$(echo "${{ github.event.issue.body }}" | sed -n '/### Upload file or Add PR Link/,/###/p' | grep -v "###" | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*.zip(\?raw=true|)" | head -n 1)" + zip_url="$(echo '${{ github.event.issue.body }}' | sed -n '/### Upload file or Add PR Link/,/###/p' | grep -v "###" | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*.zip(\?raw=true|)" | head -n 1)" if [ -z "$zip_url" ]; then exit 0 else @@ -66,7 +66,7 @@ jobs: - name: Generate Preview Content id: zip_preview run: | - zip_url="$(echo "${{ github.event.comment.body }}" | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*.zip(\?raw=true|)" | head -n 1)" + zip_url="$(echo '${{ github.event.comment.body }}' | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*.zip(\?raw=true|)" | head -n 1)" if [ -z "$zip_url" ]; then exit 0 else