Skip to content

Commit

Permalink
Merge pull request #641 from camptocamp/check-out-limit
Browse files Browse the repository at this point in the history
Limit the length of the check output
  • Loading branch information
sbrunner authored Dec 6, 2024
2 parents 1538352 + 60efb12 commit 1262665
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions github_app_geo_project/scripts/process_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ async def _process_job(
if result is not None and result.output:
check_output.update(result.output)
assert check_run is not None
if len(check_output["summary"]) > 65535:
check_output["summary"] = check_output["summary"][:65532] + "..."
if len(check_output["text"]) > 65535:
check_output["text"] = check_output["text"][:65532] + "..."
try:
check_run.edit(
status="completed",
Expand Down

0 comments on commit 1262665

Please sign in to comment.