Skip to content

Commit

Permalink
feat: Add repository labels retrieval function in gitlab_provider.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hussam789 committed Dec 13, 2023
1 parent 648dd32 commit 89c30ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pr_agent/git_providers/gitlab_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@ def publish_inline_comments(self, comments: list[dict]):
def get_pr_labels(self):
return self.mr.labels

def get_repo_labels(self):
return self.gl.projects.get(self.id_project).labels.list()

def get_commit_messages(self):
"""
Retrieves the commit messages of a pull request.
Expand Down

0 comments on commit 89c30ab

Please sign in to comment.