Detect and notify when a specific code statement is commited


Can anybody help to clarify if is it possible for GitLab to detect when a specific code is commited (in this particular case it woul be a SQL ALTER TABLE statement) and, when it does, notifies someone by sending an email?