Commit 6e54e9a3 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch '222360-add-tooling-into-engineering-productivity-roulette-category' into 'master'

Add support for the new tooling and `tooling::*` / `feature::*` scoped labels in various Danger checks

Closes #222360

See merge request gitlab-org/gitlab!34622
parents 60ef8e55 0b3e2951
...@@ -4,8 +4,13 @@ THROUGHPUT_LABELS = [ ...@@ -4,8 +4,13 @@ THROUGHPUT_LABELS = [
'Community contribution', 'Community contribution',
'security', 'security',
'bug', 'bug',
'backstage', # To be removed by https://gitlab.com/gitlab-org/gitlab/-/issues/222360.
'feature', 'feature',
'backstage', 'feature::addition',
'feature::maintenance',
'tooling',
'tooling::pipelines',
'tooling::workflow',
'documentation' 'documentation'
].freeze ].freeze
......
# frozen_string_literal: true # frozen_string_literal: true
NO_SPECS_LABELS = %w[backstage documentation QA].freeze NO_SPECS_LABELS = [
'backstage', # To be removed by https://gitlab.com/gitlab-org/gitlab/-/issues/222360.
'tooling',
'tooling::pipelines',
'tooling::workflow',
'documentation',
'QA'
].freeze
NO_NEW_SPEC_MESSAGE = <<~MSG NO_NEW_SPEC_MESSAGE = <<~MSG
You've made some app changes, but didn't add any tests. You've made some app changes, but didn't add any tests.
That's OK as long as you're refactoring existing code, That's OK as long as you're refactoring existing code,
......
...@@ -3,7 +3,14 @@ ...@@ -3,7 +3,14 @@
module Gitlab module Gitlab
module Danger module Danger
module Changelog module Changelog
NO_CHANGELOG_LABELS = %w[backstage ci-build meta].freeze NO_CHANGELOG_LABELS = [
'backstage', # To be removed by https://gitlab.com/gitlab-org/gitlab/-/issues/222360.
'tooling',
'tooling::pipelines',
'tooling::workflow',
'ci-build',
'meta'
].freeze
NO_CHANGELOG_CATEGORIES = %i[docs none].freeze NO_CHANGELOG_CATEGORIES = %i[docs none].freeze
def needed? def needed?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment