Skip to content

Commit

Permalink
Merge pull request #524 from Codium-ai/hl/native_labels_gitlab
Browse files Browse the repository at this point in the history
feat: Add repository labels retrieval function in gitlab_provider.py
  • Loading branch information
hussam789 authored Dec 13, 2023
2 parents 648dd32 + 89c30ab commit 2a8c2e4
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 2a8c2e4

Please sign in to comment.