gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106423)

This commit is contained in:
Nikita Sobolev 2023-07-04 21:20:00 +03:00 committed by GitHub
parent 2dfc7fae78
commit c5dacc8fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ jobs:
// We need to truncate the body size, because the max size for
// the whole payload is 16kb. We want to be safe and assume that
// body can take up to ~8kb of space.
body : issue.data.body.substring(8000)
body : issue.data.body.substring(0, 8000)
};
const data = {