Merge pull request #131 from Codium-ai/ok/gitlab_webook

GitLab Webhook Integration and Provider Enhancements
This commit is contained in:
Ori Kotek
2023-07-24 16:01:17 +03:00
committed by GitHub
4 changed files with 65 additions and 6 deletions

View File

@ -72,6 +72,8 @@ class PRDescription:
self.git_provider.publish_description(pr_title, pr_body)
if self.git_provider.is_supported("get_labels"):
current_labels = self.git_provider.get_labels()
if current_labels is None:
current_labels = []
self.git_provider.publish_labels(pr_types + current_labels)
self.git_provider.remove_initial_comment()