refactor(pr_description): redesign changes walkthrough section and improve file processing

This commit is contained in:
mrT23
2025-07-18 08:51:48 +03:00
parent bec70dc96a
commit 754d47f187
4 changed files with 47 additions and 22 deletions

View File

@ -380,7 +380,7 @@ class AzureDevopsProvider(GitProvider):
pr_body = pr_body[:ind]
if len(pr_body) > MAX_PR_DESCRIPTION_AZURE_LENGTH:
changes_walkthrough_text = PRDescriptionHeader.CHANGES_WALKTHROUGH.value
changes_walkthrough_text = PRDescriptionHeader.FILE_WALKTHROUGH.value
ind = pr_body.find(changes_walkthrough_text)
if ind != -1:
pr_body = pr_body[:ind]