summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_pull_request_merged_by_worker.rb
blob: cce179542c721672afcd77ed3ce19ba085465efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

module Gitlab
  module GithubImport
    class ImportPullRequestMergedByWorker # rubocop:disable Scalability/IdempotentWorker
      include ObjectImporter

      tags :exclude_from_kubernetes
      worker_resource_boundary :cpu

      def representation_class
        Gitlab::GithubImport::Representation::PullRequest
      end

      def importer_class
        Importer::PullRequestMergedByImporter
      end

      def object_type
        :pull_request_merged_by
      end
    end
  end
end