From 8af0a79e3ac5a2829bdc6a8fcb6c55bb02f7fe9a Mon Sep 17 00:00:00 2001 From: Sachin Bisht Date: Thu, 14 Sep 2023 01:02:27 +0530 Subject: [PATCH] Trying to add the redable coverage report in the comment --- .github/workflows/unit-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-testing.yml b/.github/workflows/unit-testing.yml index 1d5dab73f2..36bdf56c9f 100644 --- a/.github/workflows/unit-testing.yml +++ b/.github/workflows/unit-testing.yml @@ -85,5 +85,5 @@ jobs: curl -X POST \ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Content-Type: application/json" \ - -d "{\"body\": \"$(cat coverage_comment.txt | sed ':a;N;$!ba;s/\n/\\n/g')\"}" \ + -d "{\"body\": \"$(cat coverage_comment.txt)\"}" \ "https://api.github.com/repos/$GITHUB_REPOSITORY/issues/${{ github.event.pull_request.number }}/comments"