mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 19:35:17 +00:00
Merge pull request #524 from Codium-ai/hl/native_labels_gitlab
feat: Add repository labels retrieval function in gitlab_provider.py
This commit is contained in:
commit
2a8c2e488a
1 changed files with 3 additions and 0 deletions
|
|
@ -411,6 +411,9 @@ class GitLabProvider(GitProvider):
|
|||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue