Skip to content

Commit

Permalink
pythongh-106217: Truncate the issue body size of `new-bugs-announce-n…
Browse files Browse the repository at this point in the history
…otifier`
  • Loading branch information
sobolevn authored Jul 4, 2023
1 parent 80f1c6c commit 5daa49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/new-bugs-announce-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 5daa49b

Please sign in to comment.