Commit e7a12d06 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '213534-improve-telemetry-warning-message-in-danger-bot' into 'master'

Improve Telemetry warning message in danger bot

Closes #213534

See merge request gitlab-org/gitlab!28902
parents 17771327 a69bfc39
# frozen_string_literal: true # frozen_string_literal: true
TELEMETRY_CHANGED_FILES_MESSAGE = <<~MSG TELEMETRY_CHANGED_FILES_MESSAGE = <<~MSG
This merge request adds or changes files for which a This merge request includes changes for which a review from the Data team and Telemetry team is recommended.
review from the Data team and Telemetry team is recommended. Please reach out to @gitlab-org/growth/telemetry/engineers group for a review.
@gitlab-org/growth/telemetry group is mentioned in order to notify team members.
MSG MSG
USAGE_DATA_FILES_MESSAGE = <<~MSG USAGE_DATA_FILES_MESSAGE = <<~MSG
For the following files, a review from the [Data team and Telemetry team](https://gitlab.com/groups/gitlab-org/growth/telemetry/-/group_members?with_inherited_permissions=exclude) is recommended: For the following files, a review from the [Data team and Telemetry team](https://gitlab.com/groups/gitlab-org/growth/telemetry/engineers/-/group_members?with_inherited_permissions=exclude) is recommended:
MSG MSG
usage_data_changed_files = git.modified_files.grep(%r{usage_data}) usage_data_changed_files = git.modified_files.grep(%r{usage_data})
......
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