From: Nikita Sobolev Date: Tue, 4 Jul 2023 18:20:00 +0000 (+0300) Subject: gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106423) X-Git-Tag: v3.13.0a1~1518 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5dacc8fa0c3013be8b457afac996bdae1dc12d2;p=thirdparty%2FPython%2Fcpython.git gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106423) --- diff --git a/.github/workflows/new-bugs-announce-notifier.yml b/.github/workflows/new-bugs-announce-notifier.yml index e3572db67069..80514b4d2ca5 100644 --- a/.github/workflows/new-bugs-announce-notifier.yml +++ b/.github/workflows/new-bugs-announce-notifier.yml @@ -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 = {