Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
argl committed Dec 12, 2024
1 parent 75c352f commit 7f69bdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployer/src/deployer/analyze_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7f69bdb

Please sign in to comment.