Commit b1f3959e authored by Michael Walker's avatar Michael Walker Committed by Albert Salim

Add danger file for data engineers

parent 9c35c043
# frozen_string_literal: true
# rubocop:disable Style/SignalException
CHANGED_SCHEMA_MESSAGE = <<~MSG
Tagging @gitlab-data/engineers to be notified about changes to the db/structure.sql file.
MSG
db_schema_updated = !git.modified_files.grep(%r{\Adb/structure\.sql}).empty?
if db_schema_updated
markdown(CHANGED_SCHEMA_MESSAGE)
end
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