Skip to content

Commit

Permalink
Place "Congratulations ..." comment also on GitLab
Browse files Browse the repository at this point in the history
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
  • Loading branch information
lachmanfrantisek committed Sep 16, 2020
1 parent 2b3991b commit acd6434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packit_service/worker/handlers/fedmsg_handlers.py
Expand Up @@ -28,6 +28,7 @@
from datetime import datetime
from typing import Type, Optional

from ansible.modules.source_control.gitlab_project import GitLabProject
from celery import signature

from ogr.abstract import CommitStatus
Expand Down Expand Up @@ -269,7 +270,7 @@ def run(self):
build_job_helper.job_build
and build_job_helper.job_build.trigger == JobConfigTriggerType.pull_request
and self.copr_event.pr_id
and isinstance(self.project, GithubProject)
and isinstance(self.project, (GithubProject, GitLabProject))
and not self.was_last_packit_comment_with_congratulation()
and self.job_config.notifications.pull_request.successful_build
):
Expand Down

0 comments on commit acd6434

Please sign in to comment.