Refactor reaction handling in GitHub provider and update help text in PR tools

This commit is contained in:
mrT23
2024-02-20 08:06:33 +02:00
parent 6eca495801
commit 4a0b12c036
6 changed files with 16 additions and 17 deletions

View File

@ -347,7 +347,7 @@ class AzureDevopsProvider(GitProvider):
def publish_description(self, pr_title: str, pr_body: str):
if len(pr_body) > MAX_PR_DESCRIPTION_AZURE_LENGTH:
usage_guide_text='<details> <summary><strong>✨ Usage guide:</strong></summary><hr>'
usage_guide_text='<details> <summary><strong>✨ Describe tool usage guide:</strong></summary><hr>'
ind = pr_body.find(usage_guide_text)
if ind != -1:
pr_body = pr_body[:ind]