From 09405222aaffd83992da3f03eaf906dba3538204 Mon Sep 17 00:00:00 2001 From: Grace Park Date: Mon, 18 Sep 2023 10:07:56 -0700 Subject: [PATCH] Updating workflow to stringify body for issue (#42807) --- .github/actions-scripts/post-lints.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions-scripts/post-lints.js b/.github/actions-scripts/post-lints.js index d3aaed35af..3a1ada4326 100644 --- a/.github/actions-scripts/post-lints.js +++ b/.github/actions-scripts/post-lints.js @@ -49,7 +49,7 @@ async function main() { core, octokit, reportTitle: `Error(s) in content markdown file(s)`, - reportBody: JSON.parse(errors), + reportBody: JSON.stringify(errors, undefined, 2), reportRepository: REPORT_REPOSITORY, reportLabel: REPORT_LABEL, }