Refactor labels

This commit is contained in:
Hussam.lawen
2023-12-11 16:47:38 +02:00
parent f7a6348401
commit fdc776887d
12 changed files with 23 additions and 19 deletions

View File

@ -392,7 +392,7 @@ class PRReviewer:
if security_concerns_bool:
review_labels.append('Possible security concern')
current_labels = self.git_provider.get_labels()
current_labels = self.git_provider.get_pr_labels()
current_labels_filtered = [label for label in current_labels if
not label.lower().startswith('review effort [1-5]:') and not label.lower().startswith(
'possible security concern')]