platform(gitlab): Limit MR body to 25 Kb (#7043)

This commit is contained in:
Sergio Zharinov 2020-08-20 22:53:03 +04:00 committed by GitHub
parent 4459f6e8d4
commit 2d83f073dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -500,7 +500,7 @@ export function getPrBody(input: string): string {
.replace(/Pull Request/g, 'Merge Request')
.replace(/PR/g, 'MR')
.replace(/\]\(\.\.\/pull\//g, '](!'),
50000
25000 // TODO: increase it once https://gitlab.com/gitlab-org/gitlab/-/issues/217483 is closed
);
}