In GitHub you can do something similar by setting file "code owners" under "branch protections Policy"