We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34809a5 commit b9980d6Copy full SHA for b9980d6
src/model/results-check.ts
@@ -76,6 +76,14 @@ const ResultsCheck = {
76
const pullRequest = github.context.payload.pull_request;
77
const headSha = (pullRequest && pullRequest.head.sha) || github.context.sha;
78
79
+ const maxLen = 65534;
80
+ if(output.length > maxLen)
81
+ {
82
+ core.warning(`Output too long (${output.length}) truncating to ${maxLen}`);
83
+ output = output.substring(0, maxLen);
84
+ }
85
+
86
87
core.info(`Posting results for ${headSha}`);
88
const createCheckRequest = {
89
...github.context.repo,
0 commit comments