From 5daa49b00d05f9d400c5134fe52c397b10da7e34 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Tue, 4 Jul 2023 18:26:16 +0300 Subject: [PATCH] gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` --- .github/workflows/new-bugs-announce-notifier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/new-bugs-announce-notifier.yml b/.github/workflows/new-bugs-announce-notifier.yml index e3572db670693e..80514b4d2ca572 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 = {