diff --git a/.github/workflows/llvm-bugs.yml b/.github/workflows/llvm-bugs.yml index 7d42abfadde7b..cd3f396e7c465 100644 --- a/.github/workflows/llvm-bugs.yml +++ b/.github/workflows/llvm-bugs.yml @@ -39,6 +39,12 @@ jobs: repo: context.repo.repo }) .then((issue) => { + var maybeTruncatedBody = issue.data.body; + if (maybeTruncatedBody.length > 15000) { + maybeTruncatedBody = maybeTruncatedBody.substring(0, + 15000) + + "Please see the issue for the entire body." + } const payload = { author : issue.data.user.login, issue : issue.data.number,