mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
36f70c8aba
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@ -483,7 +483,7 @@ jobs:
|
|||||||
const mergeWorkflowUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`;
|
const mergeWorkflowUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`;
|
||||||
const reportMd = await fs.promises.readFile('report.md', 'utf8');
|
const reportMd = await fs.promises.readFile('report.md', 'utf8');
|
||||||
function formatComment(lines) {
|
function formatComment(lines) {
|
||||||
let body = lines.join('\n');
|
let body = lines.map(item => item.replace(/__e2e__/g, '\_\_e2e\_\_')).join('\n');
|
||||||
if (body.length > 65535)
|
if (body.length > 65535)
|
||||||
body = body.substring(0, 65000) + `... ${body.length - 65000} more characters`;
|
body = body.substring(0, 65000) + `... ${body.length - 65000} more characters`;
|
||||||
return body;
|
return body;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user