Merge branch 'main' into next

This commit is contained in:
Zeke Zhang 2024-07-10 14:48:10 +08:00
commit 36f70c8aba

View File

@ -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;