diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f3da6d2ae1..f48dc2a1b8 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -483,7 +483,7 @@ jobs: const mergeWorkflowUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`; const reportMd = await fs.promises.readFile('report.md', 'utf8'); function formatComment(lines) { - let body = lines.join('\n'); + let body = lines.map(item => item.replace(/__e2e__/g, '\_\_e2e\_\_')).join('\n'); if (body.length > 65535) body = body.substring(0, 65000) + `... ${body.length - 65000} more characters`; return body;