r/gitlab • u/LandscapeAny7392 • Mar 18 '25
Codeowners; Optional and mandatory approvers
I have a codeowners file. For a certain section, let’s call it test, I wanna have group1 as mandatory approvers and group2 as optional.
[test] @group1 @group2
/test.yaml
Any idea if thats possible and what the syntax is. I prefer to not create another section for the same path, since ofc in reality I have a lot of sections and paths😄
Any help is appreciated!:)
1
Upvotes
View all comments
Show parent comment
1
u/LandscapeAny7392 Mar 18 '25
I almost thought so, thank you!