From 8feed9c9e6331f11c481d94a63f48290c53aeb7d Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Fri, 4 Mar 2022 00:13:36 +0530 Subject: [PATCH] do not strip delimiters from status check output --- .github/workflows/status.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/status.yml b/.github/workflows/status.yml index d418cd4d..05facb5c 100644 --- a/.github/workflows/status.yml +++ b/.github/workflows/status.yml @@ -35,10 +35,6 @@ jobs: mkdir -p pr # Run status checks, Remove ANSI colors from the text output=$(npx ts-node ./status-checks/index.ts | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g') - # Escape newlines so _all_ the output is included in the set-output - output="${output//'%'/'%25'}" - output="${output//$'\n'/'%0A'}" - output="${output//$'\r'/'%0D'}" cat <<< "$output" > "./pr/status-check-output" echo ${{ github.event.number }} > ./pr/number - uses: actions/upload-artifact@v2