On /describe, preserve the current labels

This commit is contained in:
Ori Kotek
2023-07-24 10:17:26 +03:00
parent 1f987380ed
commit b9c25e487a
5 changed files with 18 additions and 5 deletions

View File

@ -27,7 +27,7 @@ class BitbucketProvider:
self.set_pr(pr_url)
def is_supported(self, capability: str) -> bool:
if capability in ['get_issue_comments', 'create_inline_comment', 'publish_inline_comments']:
if capability in ['get_issue_comments', 'create_inline_comment', 'publish_inline_comments', 'get_labels']:
return False
return True