From 3df6bfeb660ecc42444c27faf4db6ad6d06d2902 Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Fri, 29 May 2026 01:27:40 -0700 Subject: [PATCH] build: fix PR coverage comment formatting --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown_pkg_readmes status: na - task: lint_markdown_docs status: na - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .github/workflows/publish_coverage_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_coverage_pr.yml b/.github/workflows/publish_coverage_pr.yml index 730f8a3f77ed..21c1bbff76d2 100644 --- a/.github/workflows/publish_coverage_pr.yml +++ b/.github/workflows/publish_coverage_pr.yml @@ -88,7 +88,7 @@ jobs: const fs = require( 'fs' ); const prNumber = parseInt( process.env.PR_NUMBER, 10 ); - const report = fs.readFileSync( 'pr-metadata/report', 'utf8' ); + const report = fs.readFileSync( 'pr-metadata/report', 'utf8' ).replace( /\\n/g, '\n' ); const { data: comments } = await github.rest.issues.listComments({ 'issue_number': prNumber,