From cb14ef1a917d72fd551d1ac184d194dba73aaf78 Mon Sep 17 00:00:00 2001
From: Nwanna Isong <nisong@gitlab.com>
Date: Mon, 22 Jul 2024 15:02:46 +0000
Subject: [PATCH] Add Auto Review from Analytics instrumentation/Backend

---
 spec/tooling/danger/project_helper_spec.rb | 2 ++
 tooling/danger/project_helper.rb           | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/spec/tooling/danger/project_helper_spec.rb b/spec/tooling/danger/project_helper_spec.rb
index 1d3b349ac589..ab5d933f8f6b 100644
--- a/spec/tooling/danger/project_helper_spec.rb
+++ b/spec/tooling/danger/project_helper_spec.rb
@@ -180,6 +180,8 @@
       'spec/lib/gitlab/usage_data_spec.rb' | [:analytics_instrumentation]
       'spec/lib/gitlab/usage/service_ping_report.rb' | [:backend, :analytics_instrumentation]
       'spec/lib/gitlab/usage/metrics/key_path_processor.rb' | [:backend, :analytics_instrumentation]
+      'spec/support/matchers/internal_events_matchers.rb' | [:backend, :analytics_instrumentation]
+      'spec/support_specs/matchers/internal_events_matchers_spec.rb' | [:backend, :analytics_instrumentation]
 
       'app/models/integration.rb' | [:import_integrate_be, :backend]
       'ee/app/models/integrations/github.rb' | [:import_integrate_be, :backend]
diff --git a/tooling/danger/project_helper.rb b/tooling/danger/project_helper.rb
index 70face5eeb53..a44501868a80 100644
--- a/tooling/danger/project_helper.rb
+++ b/tooling/danger/project_helper.rb
@@ -129,6 +129,8 @@ module ProjectHelper
           (spec/)?lib/generators/gitlab/usage_metric_definition/redis_hll_generator(_spec)?\.rb |
           lib/generators/rails/usage_metric_definition_generator\.rb |
           spec/lib/generators/usage_metric_definition_generator_spec\.rb |
+          spec/support/matchers/internal_events_matchers\.rb |
+          spec/support_specs/matchers/internal_events_matchers_spec\.rb |
           generator_templates/usage_metric_definition/metric_definition\.yml)\z}x => [:backend, :analytics_instrumentation],
         %r{gitlab/usage_data(_spec)?\.rb} => [:analytics_instrumentation],
         [%r{\.haml\z}, %r{data: \{ track}] => [:analytics_instrumentation],
-- 
GitLab