diff --git a/.github/workflows/validate-module.yml b/.github/workflows/validate-module.yml index 97efd9f2..05590712 100644 --- a/.github/workflows/validate-module.yml +++ b/.github/workflows/validate-module.yml @@ -68,4 +68,4 @@ jobs: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} COMMENT_URL="https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}/comments" echo "SENDING TO: $COMMENT_URL" - curl -s -H "Authorization: token ${GITHUB_TOKEN}" -X POST $COMMENT_URL -d "{ \"body\": \"\"\"$(cat validate_module_descriptor_errors.txt)\"\"\" }" \ No newline at end of file + curl -s -H "Authorization: token ${GITHUB_TOKEN}" -X POST $COMMENT_URL --data-raw "@validate_module_descriptor_errors.txt" \ No newline at end of file