diff --git a/deployer/src/deployer/analyze_pr.py b/deployer/src/deployer/analyze_pr.py index 0159d2b0fa57..3e965d10d024 100644 --- a/deployer/src/deployer/analyze_pr.py +++ b/deployer/src/deployer/analyze_pr.py @@ -86,11 +86,13 @@ def analyze_pr(build_directory: Path, config): return combined_comment + def truncate_comment(comment): if len(comment) > MAX_COMMENT_BODY_LENGTH: return comment[:MAX_COMMENT_BODY_LENGTH] + "…\n\nTRUNCATED!" return comment + def post_about_deployment(build_directory: Path, **config): links = [] for doc in get_built_docs(build_directory):