I love GitLab, but I am frustrated to assign approvers manually for each Merge Request. Gitlab friendly suggest to Tip: add a CODEOWNERS to automatically add approvers based on file paths and file types.
And so I did , I have created a file under : .gitlab/docs/CODEOWNERS.txt
Here is the contents of my file :
Multiple codeowners can be specified, separated by whitespace
CODEOWNERS @eduardo.baiao @n.belokopytov @viacheslav.iankovyi @yan.braslavsky
But unfortunately it does not auto assigns reviewers during Merge Requests. Did I do something wrong ? Am I missing something ?
Assigning approvers based on a CODEOWNERS
file requires either GitLab Premium or GitLab Silver (or higher).
CODEOWNERS
file should be placed in either .gitlab/ or docs/ or the root directory. I don't think it will find it in .gitlab/docs.CODEOWNERS
, not CODEOWNERS.txt
. Try removing the .txt extension and see if it works.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With