[CI] test committed
This commit is contained in:
parent
9e5b234402
commit
6880dc3fe2
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -334,6 +334,11 @@ function createPullRequest(inputs) {
|
|||||||
// Update the body input with the contents of the file
|
// Update the body input with the contents of the file
|
||||||
inputs.body = utils.readFile(inputs.bodyPath);
|
inputs.body = utils.readFile(inputs.bodyPath);
|
||||||
}
|
}
|
||||||
|
// 65536 characters is the maximum allowed for the pull request body.
|
||||||
|
if (inputs.body.length > 65536) {
|
||||||
|
core.warning(`Pull request body is too long. Truncating to 65536 characters.`);
|
||||||
|
inputs.body = inputs.body.substring(0, 65536);
|
||||||
|
}
|
||||||
// Get the repository path
|
// Get the repository path
|
||||||
const repoPath = utils.getRepoPath(inputs.path);
|
const repoPath = utils.getRepoPath(inputs.path);
|
||||||
// Create a git command manager
|
// Create a git command manager
|
||||||
|
|||||||
1
report.txt
Normal file
1
report.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
1682991055
|
||||||
Loading…
x
Reference in New Issue
Block a user