mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Limit mypy primer comment to 30000 chars (#5396)
* Limit mypy primer comment to 30000 chars GitHub enforces a limit of 64kB Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
2
.github/workflows/mypy_primer_comment.yml
vendored
2
.github/workflows/mypy_primer_comment.yml
vendored
@@ -110,7 +110,7 @@ jobs:
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body,
|
||||
body: body.substr(0, 30000), // About 300 lines
|
||||
})
|
||||
|
||||
- uses: kanga333/comment-hider@9141763feccc8da773595675adc567d6616b6e6f
|
||||
|
||||
Reference in New Issue
Block a user