diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-07-04 18:20:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-04 18:20:00 (GMT) |
commit | c5dacc8fa0c3013be8b457afac996bdae1dc12d2 (patch) | |
tree | 32c7445838239409eebf9f8ea21f00710af17125 | |
parent | 2dfc7fae787e65726f24bfe9efe05418b05ee8e2 (diff) | |
download | cpython-c5dacc8fa0c3013be8b457afac996bdae1dc12d2.zip cpython-c5dacc8fa0c3013be8b457afac996bdae1dc12d2.tar.gz cpython-c5dacc8fa0c3013be8b457afac996bdae1dc12d2.tar.bz2 |
gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106423)
-rw-r--r-- | .github/workflows/new-bugs-announce-notifier.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/new-bugs-announce-notifier.yml b/.github/workflows/new-bugs-announce-notifier.yml index e3572db..80514b4 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 = { |