Sha256: b3fdea21cc1be1a9f9a7e10d8bb3dd9f18ee63336094882da578ade23cab0419

Contents?: true

Size: 354 Bytes

Versions: 10

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

require_relative "../../../gitlab/dangerfiles/type_label_guesser"

return if helper.has_scoped_label_with_scope?("type")

if respond_to?(:changelog)
  type_label_guesser = Gitlab::Dangerfiles::TypeLabelGuesser.new
  helper.labels_to_add.concat(type_label_guesser.labels_from_changelog_categories(changelog.categories))
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gitlab-dangerfiles-4.8.0 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.7.0 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.6.0 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.5.1 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.4.0 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.3.2 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.2.1 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.2.0 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.1.0 lib/danger/rules/type_label/Dangerfile
gitlab-dangerfiles-4.0.0 lib/danger/rules/type_label/Dangerfile